Skip to content

add constraint opaques types #38

add constraint opaques types

add constraint opaques types #38

Workflow file for this run

---
name: Publish
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
container:
image: pandoc/core:3.1-ubuntu
permissions: write-all
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install dependencies
run: |
apt-get update
apt-get install -y ca-certificates curl gnupg sudo rsync
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=20
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
apt-get update
apt-get install -y nodejs
- name: Setup just
uses: extractions/setup-just@v1
- name: Install filters
run: just install_filters
- name: Build page
run: just build
- name: Publish artifact
uses: actions/upload-artifact@v3
with:
name: website
path: ./website
if-no-files-found: error
deploy:
needs: build
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: website
path: ./website
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website
cname: iron.rlemaitre.com
- name: Publish latest
uses: marvinpinto/[email protected]
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
./website/*