20 lines
565 B
YAML
20 lines
565 B
YAML
name: Deploy into stage environment
|
|
on:
|
|
push:
|
|
branches:
|
|
- stage
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
make-deploy:
|
|
name: Deploy into stage environment
|
|
runs-on: [django-dav-events, kitty]
|
|
steps:
|
|
- 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:
|
|
DEPLOY_DIR: "/var/www/touren.alpenverein-karlsruhe.de/wsgi/django-dav-events.stage"
|
|
run: make deploy
|