www/.forgejo/workflows/main.yaml
Julien Dessaux 61c5cef605
Some checks failed
/ all (push) Has been cancelled
try to debug around rss feed generation issue
2025-04-27 19:56:35 +02:00

33 lines
745 B
YAML

---
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
all:
runs-on: 'self-hosted'
steps:
- uses: 'actions/checkout@v4'
with:
fetch-depth: 0
- uses: 'actions/setup-go@v5'
with:
go-version-file: 'search/go.mod'
- name: 'fmt'
run: |
make tidy no-dirty
- name: 'build'
run: |
make build
# we need the build step done before the go checks can run because we need
# the index.html file generated by the hugo build
- name: 'check'
run: |
make check no-dirty
- name: 'deploy'
run: |
make deploy
env:
SSH_PRIVATE_KEY: '${{ secrets.SSH_PRIVATE_KEY }}'