Skip to content

Merge pull request #4230 from kubeshop/dependabot/npm_and_yarn/docs/b… #124

Merge pull request #4230 from kubeshop/dependabot/npm_and_yarn/docs/b…

Merge pull request #4230 from kubeshop/dependabot/npm_and_yarn/docs/b… #124

Workflow file for this run

name: mkdocs
on:
push:
branches:
- main
paths:
- 'docs/**'
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- name: Install dependencies
run: npm install --prefix docs
- name: Build
run: npm run build --prefix docs
- name: Setup Pages
uses: actions/configure-pages@v1
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs/build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1