Skip to content

Commit

Permalink
Updated CI workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
moonstar-x committed Dec 6, 2024
1 parent 29cf9f5 commit 9c24718
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/callable-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Placeholder
run: echo "DEPLOY"
- name: Update Deployment
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEPLOYMENT_SSH_HOST }}
port: ${{ secrets.DEPLOYMENT_SSH_PORT }}
key: ${{ secrets.DEPLOYMENT_SSH_PRIVATE_KEY }}
script: |
cd ~/services/starpep-web/
docker compose rm -fs
docker compose pull
docker compose up -d

0 comments on commit 9c24718

Please sign in to comment.