Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kou029w committed Jul 29, 2024
1 parent 5d50498 commit ba8b60b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: pages
on: push
jobs:
build:
runs-on: ubuntu-latest
container: alpine
steps:
- name: Setup
run: apk add mdbook git
- uses: actions/checkout@v4
- name: Setup git config
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
git config user.name bot
git config user.email "<>"
- name: Build
run: |
cd pizero
mdbook build
- name: Commit
run: |
if git commit -am 'bot: update pages'; then
git push origin HEAD:"${{ github.ref }}"
fi

0 comments on commit ba8b60b

Please sign in to comment.