Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsuttlemyre authored May 29, 2024
1 parent 1f2e192 commit 3a50d78
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@ jobs:
Deploy-to-Surge:
name: Deploy to surge.sh
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
env:
CNAME: kqdraft.tildestar.com
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '14'
- run: |
export SURGE_LOGIN
export SURGE_TOKEN
npm install --global surge
surge . watermelontest.surge.sh #$ENVIRONMENT-$CNAME
env:
CNAME: kqdraft.tildestar.com
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}

0 comments on commit 3a50d78

Please sign in to comment.