From 0f7d3db201ae42774b45f5763c0c42971785cd7c Mon Sep 17 00:00:00 2001 From: Don Setiawan Date: Mon, 20 May 2024 09:58:24 -0700 Subject: [PATCH] ci: Update SURGE_TOKEN to be accesed via env --- .github/workflows/preview.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 245b90b1..c53ee801 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -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: |