Merge pull request #37 from jmag722/34-kdtree #3
This file contains hidden or 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: 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@v5 | |
| - 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 |