Added more gitea Actions
This commit is contained in:
15
.gitea/workflows/deploy_stage.yml
Normal file
15
.gitea/workflows/deploy_stage.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Deploy into stage environment
|
||||
on: 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: "Run make deploy"
|
||||
working-directory: ./repository
|
||||
env:
|
||||
DEPLOY_DIR: "/var/www/touren.alpenverein-karlsruhe.de/wsgi/django-dav-events.stage"
|
||||
run: make deploy
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Run tests every night
|
||||
name: Run tests every night at 05:05
|
||||
on:
|
||||
schedule:
|
||||
- cron: "05 17 * * *"
|
||||
- cron: "05 05 * * *"
|
||||
|
||||
jobs:
|
||||
make-test:
|
||||
|
||||
Reference in New Issue
Block a user