Skip to content

Commit

Permalink
try separate .env
Browse files Browse the repository at this point in the history
  • Loading branch information
ericrobskyhuntley committed Feb 26, 2024
1 parent e0c32ed commit 6314dd0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6314dd0

Please sign in to comment.