Skip to content

Commit

Permalink
Merge pull request #24 from sdasda7777/sdasda7777-pages-workflow2
Browse files Browse the repository at this point in the history
Update pages.yml
  • Loading branch information
sdasda7777 authored Mar 22, 2024
2 parents caa99fb + 08ebb26 commit db85dc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
# this is necessary for github pages where the site is deployed to username.github.io/repo_name and all files must be requested
# relatively as eframe_template/favicon.ico. if we skip public-url option, the href paths will instead request username.github.io/favicon.ico which
# will obviously return error 404 not found.
run:
REPO_URL="https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}"
./trunk build --release --public-url "$REPO_URL"
run: ./trunk build --release --public-url $public_url
env:
public_url: "https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}"
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down

0 comments on commit db85dc7

Please sign in to comment.