0
0
homer-data/.gitea/workflows/deploy.yaml

26 lines
488 B
YAML
Raw Normal View History

name: deploy-homer
on:
push:
branches:
- main
defaults:
run:
working-directory: /opt/data/homer
jobs:
prod-build:
if: gitea.repository == 'gcg/homer-data'
runs-on: act-runner-user
timeout-minutes: 5
steps:
- name: pull
run: |
git pull
- name: notification
uses: actions/telegram-action@main
if: always()
with:
chat_id: ${{ secrets.TG_CHAT_ID }}
token: ${{ secrets.TG_TOKEN }}