From 728b0edf97a0e6203ca01b86c6a588442441cbe9 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 11 Jul 2020 11:01:53 +0200 Subject: [PATCH] Create workflow.yml --- .github/workflows/workflow.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 00000000..4ee97757 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,24 @@ +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repo + uses: actions/checkout@master + with: + submodules: true + - name: Build Site + uses: chabad360/hugo-actions@master + 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