Skip to content

Commit

Permalink
add echo secret_key
Browse files Browse the repository at this point in the history
  • Loading branch information
omarciovsena committed May 31, 2024
1 parent df3a581 commit 34237ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Copy project files to the server
run: rsync -avz --exclude '/node_modules/' --exclude '/.git/' ./ [email protected]:/root/abibliadigital/
run: |
echo 'MONGODB_URI=${{ secrets.SECRET_KEY }}
rsync -avz --exclude '/node_modules/' --exclude '/.git/' ./ ${{ secrets.DROPLET_IP }}:/root/abibliadigital/
- name: Build container
run: ssh ${{ secrets.DROPLET_IP }} "cd /root/abibliadigital/ && docker-compose up -d --build"
Expand Down

0 comments on commit 34237ac

Please sign in to comment.