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 c47ea0c commit 730f48c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
# create a place to store your env.vars and secret.vars via https://github.com/ktsuttlemyre/kqDraft/settings/environments
ENVIRONMENT: ktsuttle-dev
# Set it to the email address you use with Surge
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
# SURGE_TOKEN: Set it to your login token (get it by doing a surge token)
Expand All @@ -22,9 +20,10 @@ jobs:
# The below code fixes the github queue. I dont know why
# https://stackoverflow.com/a/75072792
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
# create a place to store your env.vars and secret.vars via https://github.com/ktsuttlemyre/kqDraft/settings/environments
environment:
name: ${ ENVIRONMENT }
url: ${ env.CNAME }
name: ktsuttle-dev
url: ${{ env.CNAME }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down

0 comments on commit 730f48c

Please sign in to comment.