Files
blog/.gitea/workflows/build.yaml
Adrien Beaudouin e8daa92fba
Some checks failed
/ build (push) Failing after 3s
try gitea action
2024-08-01 21:32:56 +02:00

26 lines
577 B
YAML

on:
push:
branches:
- main
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: peaceiris/actions-hugo@v3
with:
extended: true
- uses: actions/cache@v4
with:
path: resources
key: ${{ runner.os }}-resources
- name: Build
run: hugo --minify
- uses: https://gitea.okami101.io/okami101/docker-action/.gitea/workflows/push-image@main
#if: startsWith(github.ref, 'refs/tags/v')