Skip to content

Commit

Permalink
Add publish date on CI (#456)
Browse files Browse the repository at this point in the history
* Add publish date to book (on website)

* Separate section and print PS version

* PureScript available in mdbook build
  • Loading branch information
andys8 authored Aug 31, 2023
1 parent 2229cb8 commit 4edad29
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ jobs:
with:
mdbook-version: 'latest'

- name: Set up PureScript toolchain
uses: purescript-contrib/setup-purescript@main

- name: Add version section
run: |
version=$(purs --version)
today=$(date -I)
echo -e "\n## Release\n" >> README.md
echo -e "PureScript v$version\n" >> README.md
echo -e "Published on $today" >> README.md
- run: mdbook build

- name: Deploy
Expand Down

0 comments on commit 4edad29

Please sign in to comment.