Skip to content

Bump actions/checkout from 5 to 6 (#43) #6

Bump actions/checkout from 5 to 6 (#43)

Bump actions/checkout from 5 to 6 (#43) #6

Workflow file for this run

name: SciChap Deploy
on:
push:
branches:
- master
release:
jobs:
build:
runs-on: ubuntu-latest
container:
image: chapel/chapel:latest
steps:
- name: Checkout SciChap
id: checkout
uses: actions/checkout@v6
- name: Building docs with chpldoc...
id: build-doc
run: mason doc
- name: Upload artifacts...
id: deployment
uses: actions/upload-pages-artifact@v4
with:
name: doc-latest
path: doc/
deploy:
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
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
with:
artifact_name: doc-latest