Skip to content

Commit

Permalink
:band-aid: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
UrWrstNightmare committed Dec 18, 2023
1 parent bb6ebe2 commit 85c43ff
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ jobs:
- name: "Checkout Repository"
uses: actions/checkout@v2

# - name: "Create .env File"
# run: |
# echo "Creating .env file"
# echo "${{ secrets.ENV_VARS_FRONT }}" >> front/.env
# echo "${{ secrets.ENV_VARS_BACK }}" >> back/.env
# echo "done"
# NOTE: Frontend variables are injected at this point because it is required in the build process
# Backend variables are injected in the server (or else it would be included in the container)
- name: "Create .env File (Only Front)"
run: |
echo "Creating .env file"
echo "${{ secrets.ENV_VARS_FRONT }}" >> front/.env
echo "done"
- name: "Log in to Github Container Registry"
uses: docker/login-action@v2
Expand Down

0 comments on commit 85c43ff

Please sign in to comment.