chore(deps): bump serde_json from 1.0.94 to 1.0.99 in /app/kube-knots/src-tauri #278
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: docs | |
on: | |
workflow_call: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "app/docs/**" | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build-site: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm install --global yarn | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- run: yarn install | |
- run: yarn run doc:build | |
- name: Upload Pages Artifact | |
if: ${{ github.event_name != 'pull_request' }} | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: "./app/docs/build" | |
deploy-site: | |
if: ${{ github.event_name != 'pull_request' }} | |
needs: [build-site] | |
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@v2 |