Skip to content

Commit

Permalink
use public url in trunk build (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
littlebenlittle authored Jun 7, 2024
1 parent 6ed6af3 commit 0eb56c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0eb56c5

Please sign in to comment.