Denys Konovalov
c45c5cd392
All checks were successful
deploy-homer / prod-build (push) Successful in 0s
26 lines
488 B
YAML
26 lines
488 B
YAML
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 }} |