Skip to content

Commit

Permalink
Migrate to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Apr 5, 2024
1 parent 3080b71 commit 663ad70
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 43 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Update Site

on:
push:
branches: [master, actions-test]

jobs:
format-code:
runs-on: ubuntu-latest

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write

steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: [email protected]

- name: Generate XML from Asciidoc
run: just generate
# Other steps that change files in the repository

# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5
43 changes: 0 additions & 43 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
generate:
rm -rf book/generated-xml
./book/tools/generate.sh
./book/tools/validate.hs

0 comments on commit 663ad70

Please sign in to comment.