Skip to content

Commit

Permalink
unexpected ssh-action behaviour fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
papko26 committed Nov 24, 2024
1 parent 3a390aa commit 85b225c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gtw_stack_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: ./nginx/nginx.conf
target: /etc/nginx/nginx.conf
target: /etc/nginx

- name: First-time Certbot run (with temporary NGINX container)
uses: appleboy/[email protected]
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: docker-compose.yml
target: ${{ env.DEPLOY_DIR }}/docker-compose.yml
target: ${{ env.DEPLOY_DIR }}

- name: Deploy via SSH
uses: appleboy/[email protected]
Expand All @@ -144,7 +144,7 @@ jobs:
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
echo "${{ secrets.ENV_FILE }}" > ${{ env.DEPLOY_DIR }}/.env
echo "${{ secrets.ENV_FILE }}" > ${{ env.DEPLOY_DIR }}/gtw.env
cd ${{ env.DEPLOY_DIR }}
docker compose pull
docker compose up -d

0 comments on commit 85b225c

Please sign in to comment.