File tree Expand file tree Collapse file tree 1 file changed +15
-11
lines changed
Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,21 @@ jobs:
5858 if : steps.versionCheck.outputs.changed == 'false'
5959 run : ' echo "Version did not change"'
6060
61- # - name: npm ci
62- # run: npm ci --foreground-scripts
61+ - name : npm ci
62+ if : steps.versionCheck.outputs.changed == 'true'
63+ run : npm ci --foreground-scripts
6364
64- # - name: npm run docs
65- # run: npm run docs
65+ - name : npm run docs
66+ if : steps.versionCheck.outputs.changed == 'true'
67+ run : npm run docs
6668
67- # - name: Upload artifact
68- # uses: actions/upload-pages-artifact@v3
69- # with:
70- # path: docs/
69+ - name : Upload docs
70+ if : steps.versionCheck.outputs.changed == 'true'
71+ uses : actions/upload-pages-artifact@v3
72+ with :
73+ path : docs/
7174
72- # - name: Deploy to GitHub Pages
73- # id: deployment
74- # uses: actions/deploy-pages@v4
75+ - name : Deploy docs to GitHub Pages
76+ if : steps.versionCheck.outputs.changed == 'true'
77+ id : deployment
78+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments