Skip to content

Commit 08ec8a3

Browse files
committed
site: remove scripts & lib dependency for github action integration
1 parent cc80aaf commit 08ec8a3

File tree

5 files changed

+6
-9299
lines changed

5 files changed

+6
-9299
lines changed

.github/workflows/formal-spec-listener.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,11 @@ jobs:
135135
fi
136136
137137
- name: 🔄 Enhance Agda documentation
138-
working-directory: site
139-
timeout-minutes: 25
140-
run: |
141-
HTML_COUNT=$(find ./static/formal-spec -name '*.html' | wc -l)
142-
if [ "$HTML_COUNT" -gt "0" ]; then
143-
NODE_OPTIONS="--max-old-space-size=4096" npx agda-web-docs-lib process ./static/formal-spec ./agda-docs.config.json
144-
fi
138+
uses: will-break-it/[email protected]
139+
with:
140+
input-dir: site/static/formal-spec
141+
config-file: site/agda-docs.config.json
142+
node-options: '--max-old-space-size=4096'
145143

146144
- name: 🔍 Check for changes
147145
id: check-changes

0 commit comments

Comments
 (0)