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: 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