From 8a56798c8b5f07b3ebfe4902c207664ae019082a Mon Sep 17 00:00:00 2001 From: Maik de Kruif Date: Wed, 10 Mar 2021 14:08:29 +0100 Subject: [PATCH] Setup automatic deployment --- .github/workflows/hugo_ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo_ci.yml b/.github/workflows/hugo_ci.yml index 776c0be..bd70e27 100644 --- a/.github/workflows/hugo_ci.yml +++ b/.github/workflows/hugo_ci.yml @@ -4,7 +4,7 @@ on: push: branches: ["**"] pull_request: - branches: [master] + branches: [master, feature/ci] defaults: run: @@ -25,3 +25,9 @@ jobs: extended: true - name: Build run: hugo -D -F + - name: Deploy + uses: avakar/create-deployment@v1 + with: + auto_merge: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}