Setup automatic deployment

pull/4/head
Maik de Kruif 4 years ago
parent 4be232d4a0
commit 8a56798c8b
No known key found for this signature in database
GPG Key ID: 50FA6EF181702794
  1. 8
      .github/workflows/hugo_ci.yml

@ -4,7 +4,7 @@ on:
push: push:
branches: ["**"] branches: ["**"]
pull_request: pull_request:
branches: [master] branches: [master, feature/ci]
defaults: defaults:
run: run:
@ -25,3 +25,9 @@ jobs:
extended: true extended: true
- name: Build - name: Build
run: hugo -D -F run: hugo -D -F
- name: Deploy
uses: avakar/create-deployment@v1
with:
auto_merge: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save