Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioContrerasH committed Oct 10, 2024
1 parent fd654ea commit 9c1acc6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/gh-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,24 @@ jobs:
# extended: true

- name: Build
run: hugo server -d ./docs --baseURL=https://ipl-uv.github.io/ --appendPort=false
run: hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_dir: ./docs


- name: Build for gh-isp
run: hugo --minify --config config-isp.toml

# Deploy to gh-isp
- name: Deploy to gh-isp
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_branch: gh-isp
2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#baseURL = "https://ipl-uv.github.io/"
baseURL = "https://ipl-uv.github.io/"
#baseURL = "https://isp.uv.es/github"
publishDir = "docs"

Expand Down

0 comments on commit 9c1acc6

Please sign in to comment.