From 6314dd0de3d807f773f5b8666ee64b655fb8c072 Mon Sep 17 00:00:00 2001 From: Eric Robsky Huntley Date: Mon, 26 Feb 2024 17:50:08 -0500 Subject: [PATCH] try separate .env --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 06c6bf3..68d83f3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,12 +20,13 @@ jobs: steps: - name: Checkout your repository using git uses: actions/checkout@v4 - - name: Install, build, and upload your site - uses: withastro/action@v2 + - name: Creating .env file env: PUBLIC_MAPBOX_KEY: ${{ vars.PUBLIC_MAPBOX_KEY }} run: | echo "PUBLIC_MAPBOX_KEY=${PUBLIC_MAPBOX_KEY}" > .env + - name: Install, build, and upload your site + uses: withastro/action@v2 # with: # path: . # The root location of your Astro project inside the repository. (optional) # node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)