Skip to content

Commit

Permalink
ci: add Deploy-manual
Browse files Browse the repository at this point in the history
  • Loading branch information
lulu12329 committed May 7, 2024
1 parent 422bdb5 commit 4099757
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy-manual

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_KEY }}
passphrase: ${{ secrets.SERVER_PASSPHRASE }}
script_stop: true
script: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
cd bingusboingus
docker compose pull
docker compose up -d
###ssh sachen
# https://github.com/appleboy/ssh-action

0 comments on commit 4099757

Please sign in to comment.