diff --git a/.forgejo/workflows/wow.yml b/.forgejo/workflows/wow.yml deleted file mode 100644 index 55abb17..0000000 --- a/.forgejo/workflows/wow.yml +++ /dev/null @@ -1,27 +0,0 @@ -# .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/ diff --git a/gsite.sh b/gsite.sh deleted file mode 100755 index 6689bdd..0000000 --- a/gsite.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -set -euo pipefall - -wow=$(shuf -n 1 wow.txt) -commit_message=$(git log -1 --pretty=%s) -date=$(date --iso-8601=seconds) - -mkdir -p public - -cat > public/index.html < - - - - Commit words of wisdom - - -

Commit words of wisdom

-

${wow}

-

Latest commit: ${commit_message}

-

Generated: ${date}

- - -EOF diff --git a/wow.txt b/wow.txt deleted file mode 100644 index 3763fc6..0000000 --- a/wow.txt +++ /dev/null @@ -1,5 +0,0 @@ -Life is a hopeless endeavour. -What remains in world void of desires? -Dullness comes close to bliss. -Actions are merely actions. -Among us shrubs only shrubs exist.