diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index b4f7dea..5d1047a 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -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 @@ -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