mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 04:18:28 -04:00
purge old action artifacts nightly
[skip ci]
This commit is contained in:
parent
236ee5b0af
commit
1c2337afb8
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -81,6 +81,7 @@ jobs:
|
||||
- run: |
|
||||
yarn install --no-ignore-optional --frozen-lockfile
|
||||
yarn build:preview
|
||||
yarn optimize:emoji
|
||||
- run: yarn lint
|
||||
continue-on-error: true
|
||||
- name: Include .percy.yml in artifact
|
||||
|
14
.github/workflows/purge-artifacts.yml
vendored
Normal file
14
.github/workflows/purge-artifacts.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
name: Purge old artifacts
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 9 * * *' # every day at 9 AM UTC = 5 AM EDT
|
||||
|
||||
jobs:
|
||||
purge-artifacts:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: kolpav/purge-artifacts-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
expire-in: 0
|
Loading…
x
Reference in New Issue
Block a user