Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioContrerasH committed Oct 9, 2024
1 parent 615f5b1 commit 760b2bc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/gh-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,26 @@ jobs:
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.125.7'
# extended: true

- name: Build
run: hugo --minify
# Build for gh-pages
- name: Build for gh-pages
run: hugo --minify -b "https://ipl-uv.github.io/" -d ./docs

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

# Build for gh-isp
- name: Build for gh-isp
run: hugo --minify -b "https://isp.uv.es/github" -d ./docs

- 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
4 changes: 2 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#baseURL = "https://ipl-uv.github.io/"
baseURL = "https://isp.uv.es/github"
baseURL = "https://ipl-uv.github.io/"
#baseURL = "https://isp.uv.es/github"
publishDir = "docs"

#baseURL = "http://127.0.0.1/isp/"
Expand Down

0 comments on commit 760b2bc

Please sign in to comment.