fix note; improve notes; fix scaling in css #11
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 and Deploy HTML Dashboard | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dhall-lang/setup-dhall@v4 | |
with: | |
version: '1.41.0' | |
- name: build html file | |
run: | | |
mkdir _site | |
dhall text <generate.dhall >_site/index.html | |
chmod 644 _site/index.html | |
chmod 755 _site | |
- name: upload pages artifact | |
uses: actions/upload-pages-artifact@v3 | |
deploy: | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
# Specify runner + deployment step | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action |