Skip to content

Merge pull request #7 from openmls/keks/update-308 #18

Merge pull request #7 from openmls/keks/update-308

Merge pull request #7 from openmls/keks/update-308 #18

Workflow file for this run

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 --file views/dashboard.dhall >_site/index.html
dhall text --file views/bookmarkletPage.dhall >_site/bookmarklet.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