27 lines
679 B
YAML
27 lines
679 B
YAML
|
on: [ push ]
|
||
|
|
||
|
|
||
|
jobs:
|
||
|
make:
|
||
|
name: Build BaseBand Website
|
||
|
|
||
|
runs-on: 'docker'
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v4
|
||
|
- name: Notify Action Start
|
||
|
run: bash scripts/webhook.sh "**(Website)** 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_files.sh
|
||
|
- name: Notify Action Completion
|
||
|
if: always()
|
||
|
run: bash scripts/webhook.sh "**(Website)** Update complete!"
|