Skip to content

Commit

Permalink
bump submodule and actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wiseweb-works committed Apr 16, 2024
1 parent 5b22364 commit a4c9727
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/publishGithubPages.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# This is a basic workflow to help you get started with Actions

name: Publish to Github pages

# Controls when the workflow will run
on:
# Triggers the workflow on push events but only for the master branch
push:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
buildAndDeploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: Install and Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true

- name: Build site
run: hugo --minify --enableGitInfo --gc --baseURL https://wiseweb-works.github.io/blog/

- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
# This is a basic workflow to help you get started with Actions

name: Publish to Github pages

# Controls when the workflow will run
on:
# Triggers the workflow on push events but only for the master branch
push:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
buildAndDeploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: Install and Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true

- name: Build site
run: hugo --minify --enableGitInfo --gc --baseURL https://wiseweb-works.github.io/blog/

- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
2 changes: 1 addition & 1 deletion themes/hugo-PaperMod

0 comments on commit a4c9727

Please sign in to comment.