Skip to content

Commit 0f7d3db

Browse files
authored
ci: Update SURGE_TOKEN to be accesed via env
1 parent f8af161 commit 0f7d3db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/preview.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ jobs:
4848

4949
- run: npm install -g surge
5050

51-
- run: surge ./_build/html {{env.PREVIEW_URL}} --token ${{ secrets.SURGE_TOKEN }}
51+
- run: surge ./_build/html {{env.PREVIEW_URL}} --token $SURGE_TOKEN
52+
env:
53+
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
5254

5355
- name: Add URL to Summary
5456
run: |

0 commit comments

Comments
 (0)