Files
blog/.gitea/workflows/build.yaml
Adrien Beaudouin 4789bb5c03
All checks were successful
/ build (push) Successful in 36s
try gitea action
2024-08-03 11:59:15 +02:00

28 lines
634 B
YAML

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