Skip to content

Merge pull request #1 from codemeta/governance-updates #23

Merge pull request #1 from codemeta/governance-updates

Merge pull request #1 from codemeta/governance-updates #23

Workflow file for this run

on:
push:
branches: [main]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
name: Build current
runs-on: ubuntu-latest
container: python:3
steps:
- uses: actions/checkout@v2
with:
ref: 'main'
- name: Install pre-requisites
run: pip install -r requirements.txt
- name: Build
run: mkdocs build -v --clean
- name: Upload
uses: actions/upload-pages-artifact@v1
with:
path: ./site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1