Skip to content

Restart 'P3D Legacy Server Next' #53

Restart 'P3D Legacy Server Next'

Restart 'P3D Legacy Server Next' #53

Workflow file for this run

name: "Restart 'P3D Legacy Server Next'"
on:
workflow_dispatch:
jobs:
restart:
name: "Restart 'P3D Legacy Server Next'"
runs-on: ubuntu-latest
steps:
- uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
docker service update --force nextp3dlegacyserver_next_p3d_legacy_server;
- name: Checkout Repository
if: always()
uses: actions/checkout@v4
- name: Notify
if: always()
env:
BUILD_STATUS: ${{ job.status }}
WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_QA }}
run: bash ./.github/workflows/discord.sh