Bump fast-xml-parser from 5.2.3 to 5.5.6 in /docs #6
Workflow file for this run
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: Build and deploy documentation | |
| on: | |
| push: | |
| branches: [ "main*" ] | |
| pull_request: | |
| branches: [ "main*" ] | |
| jobs: | |
| build: | |
| name: Build documentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Download NPM dependencies | |
| run: npm install | |
| working-directory: docs | |
| - name: Build documentation | |
| run: npm run build | |
| working-directory: docs | |
| - name: Upload build results | |
| uses: actions/upload-pages-artifact@v3 | |
| if: ${{ github.event_name != 'pull_request' }} | |
| with: | |
| path: docs/build | |
| deploy: | |
| name: Deploy documentation | |
| runs-on: ubuntu-latest | |
| if: ${{ github.repository == 'gobley/gobley' && github.event_name != 'pull_request' }} | |
| needs: build | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Download build results | |
| uses: actions/download-artifact@v4 | |
| - name: Setup pages | |
| uses: actions/configure-pages@v5 | |
| - name: Deploy documentation to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |