We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d28474 commit e0b420aCopy full SHA for e0b420a
.github/workflows/sphinx.yml
@@ -131,6 +131,17 @@ jobs:
131
BUCKET: ${{ vars.DOCUMENTATION_BUCKET }}
132
SOURCE: html/
133
DESTINATION: ${{ needs.sphinx-version.outputs.SPHINX_VERSION }}/
134
+ - shell: bash
135
+ run: |
136
+ curl -X POST \
137
+ -H "X-Auth-Token: ${TOKEN}" \
138
+ -H "Content-Type: application/json" \
139
+ -d "{\"pipeline_id\":\"${PIPELINE_ID}\",\"assets\":[\"${ASSET}\"]}" \
140
+ "https://api.scaleway.com/edge-services/v1alpha1/purge-requests"
141
+ env:
142
+ TOKEN: ${{ secrets.SCW_PROJECT_ID }}
143
+ PIPELINE_ID: ${{ vars.DOCUMENTATION_EDGE_SERVICES_PIPELINE_ID }}
144
+ ASSET: ${{ needs.sphinx-version.outputs.SPHINX_VERSION }}/
145
146
sphinx-deploy-root-files:
147
if: ${{ github.event_name == 'release' }}
0 commit comments