mirror of
https://github.com/chatmail/relay.git
synced 2026-05-20 12:58:04 +00:00
CI: don't reset staging.testrun.org after each run
This commit is contained in:
16
.github/workflows/test-and-deploy.yaml
vendored
16
.github/workflows/test-and-deploy.yaml
vendored
@@ -13,13 +13,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: rebuild staging.testrun.org to have a clean VPS
|
#- name: rebuild staging.testrun.org to have a clean VPS
|
||||||
run: |
|
# run: |
|
||||||
curl -X POST \
|
# curl -X POST \
|
||||||
-H "Authorization: Bearer ${{ secrets.HETZNER_API_TOKEN }}" \
|
# -H "Authorization: Bearer ${{ secrets.HETZNER_API_TOKEN }}" \
|
||||||
-H "Content-Type: application/json" \
|
# -H "Content-Type: application/json" \
|
||||||
-d '{"image":"debian-12"}' \
|
# -d '{"image":"debian-12"}' \
|
||||||
"https://api.hetzner.cloud/v1/servers/${{ secrets.STAGING_SERVER_ID }}/actions/rebuild"
|
# "https://api.hetzner.cloud/v1/servers/${{ secrets.STAGING_SERVER_ID }}/actions/rebuild"
|
||||||
|
|
||||||
- name: initenv
|
- name: initenv
|
||||||
run: scripts/initenv.sh
|
run: scripts/initenv.sh
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
run: cmdeploy run
|
run: cmdeploy run
|
||||||
|
|
||||||
- name: cmdeploy test
|
- name: cmdeploy test
|
||||||
run: cmdeploy test
|
run: cmdeploy test --slow
|
||||||
|
|
||||||
- name: cmdeploy init nine.testrun.org
|
- name: cmdeploy init nine.testrun.org
|
||||||
run: rm chatmail.ini && cmdeploy init nine.testrun.org
|
run: rm chatmail.ini && cmdeploy init nine.testrun.org
|
||||||
|
|||||||
Reference in New Issue
Block a user