Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
fix: try to generate env file
Browse files Browse the repository at this point in the history
  • Loading branch information
ElfenB committed Jan 29, 2024
1 parent f4c2058 commit 8a26e45
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Create .env file
run: |
echo "VITE_AUTH0_CLIENT_ID=${{ secrets.VITE_AUTH0_CLIENT_ID }}" > .env
echo "VITE_AUTH0_DOMAIN=${{ secrets.VITE_AUTH0_DOMAIN }}" >> .env
echo "VITE_GITHUB_URL=${{ secrets.VITE_GITHUB_URL }}" >> .env
- name: Deploy
env:
VITE_AUTH0_CLIENT_ID: ${{ secrets.VITE_AUTH0_CLIENT_ID }}
VITE_AUTH0_DOMAIN: ${{ secrets.VITE_AUTH0_DOMAIN }}
VITE_GITHUB_URL: ${{ secrets.VITE_GITHUB_URL }}
run: |
docker compose up -d --build

0 comments on commit 8a26e45

Please sign in to comment.