CI: don't reset staging.testrun.org after each run

This commit is contained in:
missytake 2024-01-10 14:50:41 +01:00
parent 45686778ea
commit 0cea5840df

View File

@ -13,13 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: rebuild staging.testrun.org to have a clean VPS
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.HETZNER_API_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"image":"debian-12"}' \
"https://api.hetzner.cloud/v1/servers/${{ secrets.STAGING_SERVER_ID }}/actions/rebuild"
#- name: rebuild staging.testrun.org to have a clean VPS
# run: |
# curl -X POST \
# -H "Authorization: Bearer ${{ secrets.HETZNER_API_TOKEN }}" \
# -H "Content-Type: application/json" \
# -d '{"image":"debian-12"}' \
# "https://api.hetzner.cloud/v1/servers/${{ secrets.STAGING_SERVER_ID }}/actions/rebuild"
- name: initenv
run: scripts/initenv.sh
@ -50,7 +50,7 @@ jobs:
run: cmdeploy run
- name: cmdeploy test
run: cmdeploy test
run: cmdeploy test --slow
- name: cmdeploy init nine.testrun.org
run: rm chatmail.ini && cmdeploy init nine.testrun.org