add simple declaim form, add inline declaration #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build ISLISP site | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '.github/workflows/build_site.yml' | |
- 'docs/**' | |
jobs: | |
build_site: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: peaceiris/actions-hugo@v3 | |
with: | |
hugo-version: '0.121.0' | |
- name: 'Install dependencies' | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install asciidoctor | |
- name: 'Build docs' | |
run: | | |
cd docs/site | |
bash copycontent.sh; | |
hugo; | |
- uses: actions/upload-pages-artifact@v3 | |
with: | |
path: 'docs/site/public' | |
deploy_site: | |
needs: [build_site] | |
if: ${{ startsWith(github.ref, 'refs/heads/master') }} | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/deploy-pages@v4 |