Skip to content

Commit

Permalink
docker action environment
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysmeow committed May 27, 2024
1 parent 50273ce commit 11ebc65
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up environment variables
run: |
echo "FLASK_KEY=${{ secrets.FLASK_KEY }}" >> .env
echo "MAIL_PASSWORD=${{ secrets.MAIL_PASSWORD }}" >> .env
echo "MONGO_INITDB_ROOT_USERNAME=${{ secrets.MONGO_INITDB_ROOT_USERNAME }}" >> .env
echo "MONGO_INITDB_ROOT_PASSWORD=${{ secrets.MONGO_INITDB_ROOT_PASSWORD }}" >> .env
- name: Build Docker Images
run: docker-compose build

Expand Down

0 comments on commit 11ebc65

Please sign in to comment.