Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Use github action peaceiris/actions-hugo@v2 #4

Merged
merged 1 commit into from
Jul 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
CI: Use github action peaceiris/actions-hugo@v2
  • Loading branch information
Shaikh-Ubaid committed Jul 28, 2023
commit a75eeee3a331e936979d8fcc345e61199b5c3e27
13 changes: 10 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,20 @@ jobs:
- name: Checkout Main
uses: actions/checkout@v3

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.110.0'
# extended: true

- name: Show Hugo version
shell: bash -l {0}
run: hugo version

- name: Clone the submodule theme
shell: bash -l {0}
run: git clone https://github.com/halogenica/beautifulhugo themes/beautifulhugo --depth=1

- name: Hugo setup
uses: klakegg/actions-hugo@1.0.0

- name: Build Site
shell: bash -l {0}
run: hugo
Expand Down