Skip to content

chore: Release dev-scope version 2024.2.72 #92

chore: Release dev-scope version 2024.2.72

chore: Release dev-scope version 2024.2.72 #92

Workflow file for this run

name: Build Github Pages
on:
push:
tags:
- '**[0-9]+.[0-9]+.[0-9]+*'
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- run: .github/bin/build-page.sh
- name: Fix permissions
run: |
chmod -c -R +rX "docs/build/" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Publish to pages
uses: actions/upload-pages-artifact@v3
with:
path: docs/build
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
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 }}
if: ${{ github.ref_type == 'tag' || github.ref == 'refs/heads/main' }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4