CI: don't reset staging.testrun.org after each run
This commit is contained in:
parent
45686778ea
commit
0cea5840df
16
.github/workflows/test-and-deploy.yaml
vendored
16
.github/workflows/test-and-deploy.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user