ci: remove upload artifact steps from CI workflows (#141) #57
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: Deploy | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| tags: ["**"] | |
| jobs: | |
| deploy-pages: | |
| name: Deploy Pages | |
| runs-on: ubuntu-24.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/[email protected] | |
| 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/[email protected] | |
| with: | |
| path: build/page | |
| - name: Deploy Pages | |
| id: deploy-pages | |
| uses: actions/[email protected] |