pack: run the workflow only when the documentation page is pushed

This commit is contained in:
leejooy96 committed 2023-02-23 09:20:55 +09:00
1 parent 8d981b7184
commit 2cb566b49e
1 file changed
+3 -2
+3 -2
View File
@@ -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