Skip to content

Commit

Permalink
ci: Update SURGE_TOKEN to be accesed via env
Browse files Browse the repository at this point in the history
  • Loading branch information
lsetiawan authored May 20, 2024
1 parent f8af161 commit 0f7d3db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:

- run: npm install -g surge

- run: surge ./_build/html {{env.PREVIEW_URL}} --token ${{ secrets.SURGE_TOKEN }}
- run: surge ./_build/html {{env.PREVIEW_URL}} --token $SURGE_TOKEN
env:
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}

- name: Add URL to Summary
run: |
Expand Down

0 comments on commit 0f7d3db

Please sign in to comment.