Repo for my website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
761 B

name: Hugo CI
on:
push:
branches: ["**"]
pull_request:
branches: [master, feature/ci]
defaults:
run:
working-directory: ./
jobs:
compile:
timeout-minutes: 10
name: Compile
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Build
run: hugo -D -F
- name: Create GitHub deployment
uses: chrnorm/deployment-action@releases/v1
id: deployment
with:
token: "${{ github.token }}"
target_url: https://maik.dev/
environment: production
4 years ago
initial_status: "success"