Website/.forgejo/workflows/build.yml

27 lines
679 B
YAML
Raw Normal View History

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