pack: run the workflow only when the documentation page is pushed
This commit is contained in:
1 parent
8d981b7184
commit
2cb566b49e
1 file changed
+3
-2
@@ -1,9 +1,11 @@
|
||||
name: documents
|
||||
|
||||
on:
|
||||
# trigger deployment on every push to main branch
|
||||
# run every time a push occurs in the docs folder
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- docs
|
||||
# trigger deployment manually
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -20,7 +22,6 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
# choose node.js version to use
|
||||
node-version: '18'
|
||||
|
||||
# cache node_modules
|
||||
|
||||
Reference in new issue
Block a user