chore(deps): bump prismjs from 1.29.0 to 1.30.0 in /docs in the npm_a… #30
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 Documentations | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
name: Build the Docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4.2.2 | |
- name: Install & Build the Docs | |
uses: withastro/action@v3.0.2 | |
with: | |
path: docs | |
package-manager: pnpm | |
deploy: | |
name: Deploy the Docs | |
needs: build | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4.0.5 |