From 3a50d786d0cff38a4a7d758f453eccbf386e2ee6 Mon Sep 17 00:00:00 2001 From: ktsuttlemyre Date: Wed, 29 May 2024 17:54:01 -0400 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0ac1d13..088e2ab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }}