Skip to content

Commit

Permalink
Update env var
Browse files Browse the repository at this point in the history
  • Loading branch information
akhuoa committed Mar 21, 2024
1 parent 204a834 commit 495e63a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
# Setting an environment variable with the value of a configuration variable
env_var: ${{ vars.ENV_CONTEXT_VAR }}

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
Expand Down Expand Up @@ -44,7 +40,7 @@ jobs:
- name: Create env file for docs
run: |
touch docs/.env
echo VITE_API_LOCATION=$VITE_API_LOCATION >> docs/.env
echo VITE_API_LOCATION=${{ secrets.VITE_API_LOCATION }} >> docs/.env
cat docs/.env
- name: Build with VitePress
Expand Down

0 comments on commit 495e63a

Please sign in to comment.