Skip to content

Commit

Permalink
Merge pull request #61 from cytodata/update-gh-actions
Browse files Browse the repository at this point in the history
Specify baseURL in gh-actions build step
  • Loading branch information
koalive authored Jun 11, 2024
2 parents e4c9777 + 2f88e45 commit f3f900b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
hugo-version: 'latest'

- name: Build
run: hugo --minify
run: hugo --baseURL http://cytodata.org/

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
HUGO_VERSION = "0.127.0"

[context.production]
command = "hugo --baseURL http://cytodata.org/"
command = "hugo --baseURL $DEPLOY_PRIME_URL"

[context.deploy-preview]
command = "hugo --baseURL $DEPLOY_PRIME_URL"

0 comments on commit f3f900b

Please sign in to comment.