mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-09-27 20:46:25 +00:00
Setup automatic deployment
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user