add update from the polonius wg #2144
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: Swatinem/[email protected] | |
- run: cargo run | |
- run: cp CNAME ./site/ | |
- run: touch site/.nojekyll | |
- uses: actions/[email protected] | |
with: | |
path: site | |
deploy: | |
if: ${{ github.ref == 'refs/heads/master' }} | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- id: deployment | |
uses: actions/[email protected] | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} |