23 lines
479 B
YAML
23 lines
479 B
YAML
name: deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: act-runner-user
|
|
steps:
|
|
- name: Checkout
|
|
uses: https://github.com/actions/checkout@v4
|
|
|
|
- name: Deploy
|
|
run: |
|
|
rsync -azr --delete ./ /opt/data/keycloak/themes/cantorid/
|
|
|
|
- name: Notification
|
|
uses: actions/telegram-action@main
|
|
if: always()
|
|
with:
|
|
chat_id: ${{ secrets.TG_CHAT_ID }}
|
|
token: ${{ secrets.TG_TOKEN }} |