Skip to content

Commit

Permalink
update env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloose committed Oct 7, 2024
1 parent 68e50a7 commit b580ef2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Pull and deploy to VPS
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
host: ${{ vars.SSH_HOST }}
username: ${{ vars.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
debug: true
envs: REPO_PATH,APP_ENV_FILE
Expand All @@ -34,6 +34,6 @@ jobs:
echo "$APP_ENV_FILE" > .env
docker compose -f docker-compose.prod.yml up -d --build
env:
REPO_PATH: ${{ secrets.SSH_REPO_PATH }}
REPO_PATH: ${{ vars.SSH_REPO_PATH }}
APP_ENV_FILE: |
${{ secrets.ENV_FILE }}

0 comments on commit b580ef2

Please sign in to comment.