chore: bump threeal/cmake-action from 2.0.0 to 2.1.0 (#131) #49
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: Deploy | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
tags: ["**"] | |
jobs: | |
deploy-pages: | |
name: Deploy Pages | |
runs-on: ubuntu-22.04 | |
permissions: | |
id-token: write | |
pages: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deploy-pages.outputs.page_url }} | |
concurrency: | |
group: pages | |
cancel-in-progress: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Copy Modules | |
run: | | |
mkdir -p build/page | |
git checkout main | |
cp cmake/GitCheckout.cmake build/page/main | |
for tag in $(git tag); do | |
git checkout $tag | |
cp cmake/GitCheckout.cmake build/page/$tag | |
done | |
- name: Upload Documentation | |
uses: actions/upload-pages-artifact@v3.0.1 | |
with: | |
path: build/page | |
- name: Deploy Pages | |
id: deploy-pages | |
uses: actions/deploy-pages@v4.0.5 |