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