mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
make sure fmt and offline checks are only run after DKIM & ACME is restored
This commit is contained in:
14
.github/workflows/test-and-deploy.yaml
vendored
14
.github/workflows/test-and-deploy.yaml
vendored
@@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull-request:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'scripts/**'
|
||||
|
||||
@@ -40,12 +40,6 @@ jobs:
|
||||
- name: append venv/bin to PATH
|
||||
run: echo venv/bin >>$GITHUB_PATH
|
||||
|
||||
- name: run formatting checks
|
||||
run: cmdeploy fmt -v
|
||||
|
||||
- name: run deploy-chatmail offline tests
|
||||
run: pytest --pyargs cmdeploy
|
||||
|
||||
- name: upload TLS cert after rebuilding
|
||||
run: |
|
||||
echo " --- wait until staging.testrun.org VPS is rebuilt --- "
|
||||
@@ -55,6 +49,12 @@ jobs:
|
||||
rsync -avz acme root@staging.testrun.org:/var/lib/ || true
|
||||
rsync -avz dkimkeys root@staging.testrun.org:/etc/ || true
|
||||
|
||||
- name: run formatting checks
|
||||
run: cmdeploy fmt -v
|
||||
|
||||
- name: run deploy-chatmail offline tests
|
||||
run: pytest --pyargs cmdeploy
|
||||
|
||||
- run: cmdeploy init staging.testrun.org
|
||||
|
||||
- run: cmdeploy run
|
||||
|
||||
Reference in New Issue
Block a user