From 5d54f6547fee20bb9f72ba1ca7b67ba849da571f Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 11 Jul 2020 11:25:33 +0200 Subject: [PATCH 1/2] Update workflow.yml --- .github/workflows/workflow.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 98ba32bf..a5924e77 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -12,13 +12,18 @@ jobs: uses: actions/checkout@master with: submodules: true - - name: Build Site - uses: chabad360/hugo-actions@master + - name: Hugo to GH Pages + uses: chabad360/hugo-gh-pages@v1.2 with: - buildPath: 'public' - # Use if you have a need to build the site to another directory - hugoVersion: '0.69.0' - # Use if your site requires a specific version of Hugo - # Append "extended_" to the begining to use Hugo Extended - args: --gc - # Use if you want to pass some custom arguments to Hugo + # A Github Personal Access Token with Repo permissions + githubToken: ${{ secrets.TOKEN }} + # The custom domain name for your GH Pages Site + cname: # optional + # The branch to push the built site to + branch: master + # The repo to push the built site to + repo: lxdb/eesev9ie.github.io + # The version of hugo to use + hugoVersion: 0.69.0 + # Arguments to pass to Hugo + args: # optional, default is --gc --minify --cleanDestinationDir From a5e2a91d46d06dd6e09b930e1d81559b91037212 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 11 Jul 2020 11:28:34 +0200 Subject: [PATCH 2/2] Update workflow.yml --- .github/workflows/workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a5924e77..54a72d7e 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -20,9 +20,9 @@ jobs: # The custom domain name for your GH Pages Site cname: # optional # The branch to push the built site to - branch: master + branch: gh-pages # The repo to push the built site to - repo: lxdb/eesev9ie.github.io + repo: lxdb/gcg-website # The version of hugo to use hugoVersion: 0.69.0 # Arguments to pass to Hugo