Trigger deploy stage workflow on push to stage branch
All checks were successful
Run tests / Run make test (push) Successful in 2m1s
Run tests every night at 05:05 / Run make test (push) Successful in 2m16s

This commit is contained in:
2024-07-12 11:02:39 +02:00
parent b49cdc4e0e
commit 9c43cc6d69

View File

@@ -1,13 +1,17 @@
name: Deploy into stage environment
on: workflow_dispatch
on:
push:
branches:
- stage
workflow_dispatch:
jobs:
make-deploy:
name: Deploy into stage environment
runs-on: [django-dav-events, kitty]
steps:
- name: "Checkout the repository"
run: git clone "${{ gitea.server_url }}/${{ gitea.repository }}" ./repository
- name: "Checkout stage branch of the repository"
run: git clone -b stage "${{ gitea.server_url }}/${{ gitea.repository }}" ./repository
- name: "Run make deploy"
working-directory: ./repository
env: