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 5e42665 commit b425b8cCopy full SHA for b425b8c
1 file changed
.github/workflows/surge-preview.yml
@@ -22,10 +22,15 @@ jobs:
22
persist-credentials: false
23
- name: Install dependencies
24
run: npm install --ignore-scripts --no-audit --loglevel=warn
25
+ - name: Build preview
26
+ if: ${{ secrets.SURGE_TOKEN != '' }}
27
+ run: npm run build
28
- uses: afc163/surge-preview@bf90a5a86111f6311ca42f0a5a0f80fb0fb03cec
29
30
+ env:
31
+ SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
32
with:
- build: npm run build
33
dist: docs-dist
34
failOnError: false
35
github_token: ${{ secrets.GITHUB_TOKEN }}
- surge_token: ${{ secrets.SURGE_TOKEN }}
36
+ surge_token: ${{ env.SURGE_TOKEN }}
0 commit comments