Migrate CI to Forgejo Actions
Some checks failed
/ deploy_site (push) Failing after 30s

This commit is contained in:
Marko Korhonen 2024-02-24 14:57:35 +02:00
parent db46c7d38f
commit 50d9ce14cf
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 13 additions and 10 deletions

View file

@ -0,0 +1,13 @@
on: [push]
env:
GOROOT: /usr/local/lib/go
jobs:
deploy_site:
runs-on: docker
container:
image: git.korhonen.cc/functionalhacker/hugo-asciidoc-docker-ci:latest
volumes:
- caddy_korhonen_cc:/korhonen.cc
steps:
- run: npm install
- run: hugo --gc --minify --cleanDestinationDir -d /korhonen.cc

View file

@ -1,10 +0,0 @@
steps:
build:
image: git.korhonen.cc/functionalhacker/hugo-asciidoc-docker-ci:latest
commands:
- npm install
- hugo --gc --minify --cleanDestinationDir -d /korhonen.cc
volumes:
- /var/www/korhonen.cc:/korhonen.cc
environment:
- GOROOT=/usr/local/lib/go