diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..c9b692e --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,19 @@ +name: build-to-pages +on: [push] +branches: [main] +jobs: + build: + runs-on: docker + image: klakegg/hugo + steps: + - uses: actions/checkout@v3 + - run: hugo --minify + push: + runs-on: docker + steps: + - run: | + git config user.name "forgejo-actions" + git config user.email "" + git add . + git commit -m "generated" + git push \ No newline at end of file diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml deleted file mode 100644 index 21280bd..0000000 --- a/.forgejo/workflows/demo.yaml +++ /dev/null @@ -1,6 +0,0 @@ -on: [push] -jobs: - test: - runs-on: docker - steps: - - run: echo All Good \ No newline at end of file