Skip to content

Commit

Permalink
Install goat; always build html/txt
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc2822 committed Mar 7, 2025
1 parent 63de26f commit 0cb70b9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build-rfc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Build and publish document
on:
push:
branches: [main]
on: push

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -23,7 +21,11 @@ jobs:
key: webdav-push.mkd

- name: Install packages
run: sudo gem install kramdown-rfc && sudo apt-get install --no-install-recommends -y xml2rfc
run: >
sudo apt-get install --no-install-recommends -y golang-go xml2rfc
sudo gem install kramdown-rfc
sudo pip3 install svgcheck --break-system-packages
go install github.com/blampe/goat/cmd/goat@latest
- name: Prepare output directory
run: mkdir build
Expand All @@ -41,6 +43,7 @@ jobs:
path: build

deploy:
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 0cb70b9

Please sign in to comment.