Skip to content

WASM Specification Testsuite #39

WASM Specification Testsuite

WASM Specification Testsuite #39

name: Requirement Preview Deploy
on:
# When a PR is merged (or force push to main)
pull_request:
types:
- opened
- reopened
- synchronize
- closed
paths:
- "requirements/**/"
- ".github/workflows/pages_requirement_preview.yaml"
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pull-requests: write
concurrency: preview-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
# -=-=-=-= Strictdoc =-=-=-=-
- name: Install python
uses: actions/[email protected]
with:
python-version: 3.12
- name: Install strictdoc & requirements
run: pip install strictdoc setuptools # Note: we need setuptools for strictdoc to work. Installing just strictdoc is not enough
- name: Export requirements
run: strictdoc export ./requirements/requirements.sdoc
# -=-=-=-= Deploy =-=-=-=-
- name: Deploy Preview
uses: rossjrw/[email protected]
with:
source-dir: output/html/
umbrella-dir: requirements/pr-preview