Skip to content

Commit

Permalink
update secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Wcc723 committed Oct 4, 2023
1 parent 5cafd58 commit 41fa491
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
- name: Create and transfer .env file to remote server
run: |
echo "Creating .env file"
echo MONGO_ROOT_USERNAME=${{ env.MONGO_ROOT_USERNAME }} > .env
echo MONGO_ROOT_PASSWORD=${{ env.MONGO_ROOT_PASSWORD }} >> .env
echo VARIABLE=${{ env.VARIABLE }} >> .env
echo MONGO_ROOT_USERNAME=${{ secrets.MONGO_ROOT_USERNAME }} > .env
echo MONGO_ROOT_PASSWORD=${{ secrets.MONGO_ROOT_PASSWORD }} >> .env
echo VARIABLE=${{ secrets.VARIABLE }} >> .env
echo "Transferring .env file to remote server"
scp .env root@${{ secrets.HOST_NAME }}:/root/.env
Expand Down

0 comments on commit 41fa491

Please sign in to comment.