mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
CI now purges the CDN cache (#84)
This commit is contained in:
parent
873944f90f
commit
2d9deb7370
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@ -5,6 +5,22 @@ on:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
purge-cdn-cache:
|
||||
name: Purge jsDelivr CDN cache
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: fjogeleit/http-request-action@v1 # Action page: <https://github.com/fjogeleit/http-request-action>
|
||||
with: {method: 'GET', url: 'https://purge.jsdelivr.net/gh/tarampampam/error-pages@2/l10n/l10n.min.js'}
|
||||
|
||||
- uses: fjogeleit/http-request-action@v1
|
||||
with: {method: 'GET', url: 'https://purge.jsdelivr.net/gh/tarampampam/error-pages@2/l10n/l10n.js'}
|
||||
|
||||
- uses: fjogeleit/http-request-action@v1
|
||||
with: {method: 'GET', url: 'https://purge.jsdelivr.net/gh/tarampampam/error-pages@latest/l10n/l10n.min.js'}
|
||||
|
||||
- uses: fjogeleit/http-request-action@v1
|
||||
with: {method: 'GET', url: 'https://purge.jsdelivr.net/gh/tarampampam/error-pages@latest/l10n/l10n.js'}
|
||||
|
||||
build:
|
||||
name: Build for ${{ matrix.os }} (${{ matrix.arch }})
|
||||
runs-on: ubuntu-20.04
|
||||
|
Loading…
Reference in New Issue
Block a user