This commit is contained in:
parent
9600e49757
commit
98ceda5648
1 changed files with 3 additions and 3 deletions
|
|
@ -97,7 +97,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Deploy docker-compose.yml
|
- name: Deploy docker-compose.yml
|
||||||
uses: easingthemes/ssh-deploy@v5.1.0
|
uses: easingthemes/ssh-deploy@v5.1.2
|
||||||
with:
|
with:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
REMOTE_HOST: ${{ secrets.DEPLOY_IP }}
|
REMOTE_HOST: ${{ secrets.DEPLOY_IP }}
|
||||||
|
|
@ -106,7 +106,7 @@ jobs:
|
||||||
TARGET: "/opt/asxpio/"
|
TARGET: "/opt/asxpio/"
|
||||||
|
|
||||||
- name: Deploy .env from secrets
|
- name: Deploy .env from secrets
|
||||||
uses: appleboy/ssh-action@v1.2.3
|
uses: appleboy/ssh-action@v1.2.5
|
||||||
env:
|
env:
|
||||||
SESSION_SECRET: ${{ secrets.SESSION_SECRET }}
|
SESSION_SECRET: ${{ secrets.SESSION_SECRET }}
|
||||||
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
|
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
|
||||||
|
|
@ -171,7 +171,7 @@ jobs:
|
||||||
chmod 600 /opt/asxpio/.env
|
chmod 600 /opt/asxpio/.env
|
||||||
|
|
||||||
- name: Deploy and update container
|
- name: Deploy and update container
|
||||||
uses: appleboy/ssh-action@v1.2.3
|
uses: appleboy/ssh-action@v1.2.5
|
||||||
env:
|
env:
|
||||||
NEW_IMAGE: ${{ needs.build.outputs.image_tag }}
|
NEW_IMAGE: ${{ needs.build.outputs.image_tag }}
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue