27 lines
740 B
YAML
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!"
|