Skip to content

Deploy-manual

Deploy-manual #10

Workflow file for this run

name: Deploy-manual
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v1.0.3
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