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