Skip to content

Commit c2c9c2e

Browse files
committed
Switch to our new SCW deploy action
1 parent d44a53d commit c2c9c2e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ jobs:
122122
needs: publish-docker
123123
steps:
124124
- name: Redeploy container
125-
uses: thibaultchazal/scaleway-serverless-container-deploy-action@0d290edda0c3359e51442bd8bf730eafef4e290f
125+
uses: httptoolkit/scaleway-serverless-container-deploy-action@v1
126126
with:
127127
container_id: ${{ vars.SCW_API_CONTAINER_ID }}
128128
region: ${{ vars.SCW_API_CONTAINER_REGION }}
129129
secret_key: ${{ secrets.SCW_SECRET_KEY }}
130130
registry_image_url: "registry.hub.docker.com/httptoolkit/ui:prod"
131131

132132
- name: Redeploy failover container
133-
uses: thibaultchazal/scaleway-serverless-container-deploy-action@0d290edda0c3359e51442bd8bf730eafef4e290f
133+
uses: httptoolkit/scaleway-serverless-container-deploy-action@v1
134134
with:
135135
container_id: ${{ vars.SCW_FAILOVER_API_CONTAINER_ID }}
136136
region: ${{ vars.SCW_FAILOVER_API_CONTAINER_REGION }}
@@ -139,9 +139,6 @@ jobs:
139139

140140
- name: Flush CDN cache
141141
run: |
142-
# Wait a little - the reploy commands don't wait for the container to start up
143-
sleep 30
144-
145142
# Clear CDN cache to re-request content:
146143
curl -f --request POST \
147144
--url https://api.bunny.net/pullzone/$PULL_ZONE_ID/purgeCache \

0 commit comments

Comments
 (0)