Skip to content

Commit 8f67f91

Browse files
committed
aasdasd
1 parent 2cdaec0 commit 8f67f91

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/docs.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)