-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ed6af3
commit 0eb56c5
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,8 @@ jobs: | |
uses: actions/cache@v4 | ||
with: | ||
path: dist | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('./**') }} | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('./**', '../.github/workflows/pages.yaml') }} | ||
restore-keys: ${{ runner.os }}-cargo- | ||
- name: Cache Dependencies | ||
if: steps.cache-dist.outputs.cache-hit != 'true' | ||
id: cache-target | ||
|
@@ -53,8 +54,7 @@ jobs: | |
uses: jetli/[email protected] | ||
- name: Build UI | ||
if: steps.cache-dist.outputs.cache-hit != 'true' | ||
run: | | ||
trunk --verbose build --release --features demo | ||
run: trunk --verbose build --release --features demo --public-url https://benlittle.dev/media-manager | ||
- name: Upload Pages Artifact | ||
if: github.ref_name == 'main' | ||
uses: actions/upload-pages-artifact@v3 | ||
|