forked from unimatrix/web
fix(ci): limit website artifact storage to main builds for one day
This commit is contained in:
parent
e15ee6e622
commit
02f631bd57
1 changed files with 2 additions and 0 deletions
|
|
@ -55,11 +55,13 @@ jobs:
|
|||
corepack pnpm test
|
||||
|
||||
- name: Upload website build
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: DuneRealms-Website
|
||||
path: website/dist/
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
|
||||
- name: Trigger deployment after successful CI
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff