.gitea/workflows/deploy.yml hinzugefügt
Some checks failed
deploy / prod-build (push) Has been cancelled
Some checks failed
deploy / prod-build (push) Has been cancelled
This commit is contained in:
parent
c48467ad51
commit
2a63742372
27
.gitea/workflows/deploy.yml
Normal file
27
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,27 @@
|
||||
name: deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /opt/data/webdata/marzipano
|
||||
|
||||
jobs:
|
||||
prod-build:
|
||||
if: gitea.repository == 'gcg/marzipano'
|
||||
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 }}
|
Loading…
Reference in New Issue
Block a user