We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 341d3f9 commit d4fc315Copy full SHA for d4fc315
.github/workflows/node.js.yml
@@ -1,7 +1,7 @@
1
name: CI
2
3
permissions:
4
- contents: read
+ contents: write
5
pages: write
6
id-token: write
7
@@ -32,7 +32,7 @@ jobs:
32
- run: npm run build
33
- run: npm run demo
34
- name: Upload demo files as artifact
35
- if: ${{ matrix.node-version == 22 }} # && github.ref == 'refs/heads/main'
+ if: ${{ matrix.node-version == 22 }}
36
id: deployment
37
uses: actions/upload-pages-artifact@v3
38
with:
@@ -93,5 +93,6 @@ jobs:
93
needs: build
94
steps:
95
- name: Deploy Demo to GitHub Pages
96
+ if: ${{ github.ref == 'refs/heads/main'}}
97
98
uses: actions/deploy-pages@v4
0 commit comments