.forgejo/workflows/wow.yml: add
Some checks failed
Generate commit words of wisdom / build (push) Has been cancelled
Some checks failed
Generate commit words of wisdom / build (push) Has been cancelled
This commit is contained in:
parent
db54007fd4
commit
a58bd13088
1 changed files with 27 additions and 0 deletions
27
.forgejo/workflows/wow.yml
Normal file
27
.forgejo/workflows/wow.yml
Normal file
|
|
@ -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/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue