SPLServer/.forgejo/workflows/build-splserver.yml

28 lines
740 B
YAML
Raw Normal View History

2024-10-14 02:53:26 +02:00
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!"