mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 21:49:31 -07:00
Merge pull request #586 from Sped0n/fix-bundle
build(ci): add pre-build cleanup for bundled directory
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -64,10 +64,16 @@ jobs:
|
|||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: 'pnpm install'
|
run: 'pnpm install'
|
||||||
|
|
||||||
|
- name: Pre-build cleanup
|
||||||
|
if: >
|
||||||
|
matrix.hugo-version == 'latest' &&
|
||||||
|
(github.event_name == 'push' || github.event.pull_request.merged == true)
|
||||||
|
run: 'rm -rf bundled'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: 'pnpm run build'
|
run: 'pnpm run build'
|
||||||
|
|
||||||
- name: Commit
|
- name: Push artifacts
|
||||||
if: >
|
if: >
|
||||||
matrix.hugo-version == 'latest' &&
|
matrix.hugo-version == 'latest' &&
|
||||||
(github.event_name == 'push' || github.event.pull_request.merged == true)
|
(github.event_name == 'push' || github.event.pull_request.merged == true)
|
||||||
|
|||||||
Reference in New Issue
Block a user