SPLServer/.forgejo/workflows/build-splserver.yml
TudbuT 33177687e9
All checks were successful
/ Build BaseBand SPLServer (push) Successful in 16s
rename build yml
2024-10-14 03:17:20 +02:00

27 lines
740 B
YAML

on: [ push ]
jobs:
make:
name: Build BaseBand SPLServer
runs-on: 'docker'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Notify Action Start
run: bash scripts/webhook.sh "**(SPLServer)** Updating..."
- name: Push to Prod Server
env:
SSH_PRIVATEKEY: ${{ secrets.SSH_PRIVATEKEY }}
GPG_PRIVATEKEY: ${{ secrets.GPG_PRIVATEKEY }}
BB_HOST: ${{ vars.BB_HOST }}
BB_PORT: ${{ vars.BB_PORT }}
BB_PATH: ${{ vars.BB_PATH }}
run: |
bash scripts/push_file.sh index.html
bash scripts/push_file.sh server.spl
- name: Notify Action Completion
if: always()
run: bash scripts/webhook.sh "**(SPLServer)** Update complete!"