diff --git a/.forgejo/workflows/wow.yml b/.forgejo/workflows/wow.yml new file mode 100644 index 0000000..55abb17 --- /dev/null +++ b/.forgejo/workflows/wow.yml @@ -0,0 +1,27 @@ +# .forgejo/workflows/wow.yml +name: "Generate commit words of wisdom" + +on: + push: + branches: ["main"] + workflow_dispatch: + +jobs: + build: + runs-on: "docker" + + steps: + - name: "Check out repository" + uses: actions/checkout@v4 + + - name: "Generate website" + run: ./gsite.sh + + - name: "Show generated page" + run: cat public/index.html + + - name: "Upload website artifact" + uses: actions/upload-artifact@v4 + with: + name: "commit-fortune-site" + path: public/