compose-website/.forgejo/workflows/main.yaml
Hugo Renard 6df6c88d7e
Some checks failed
/ deploy (push) Failing after 2m1s
/ build (push) Successful in 35s
ci: replace gitlab by forgejo
2024-09-25 19:27:23 +02:00

19 lines
545 B
YAML

on: [push]
jobs:
build:
runs-on: native
steps:
- uses: actions/checkout@v4
- name: Nix build
run: nix-shell -p hugo -p go --run "hugo --minify"
- uses: actions/upload-artifact@v3
with:
name: website
path: public/
deploy:
runs-on: native
steps:
- uses: actions/download-artifact@v3
- name: Deploy
if: env.GITHUB_REF_NAME == 'main'
run: MC_HOST_hot=${{ secrets.MC_HOST_HOT }} mc mirror --overwrite --remove website hot/libre-sh-compose-website