Skip to content

docs: add mariuszmichalowski as a contributor for content #59

docs: add mariuszmichalowski as a contributor for content

docs: add mariuszmichalowski as a contributor for content #59

Workflow file for this run

name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "sources" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install yarn
uses: borales/actions-yarn@v4
with:
cmd: install # runs the `yarn install` command
- name: Build the docs
uses: borales/actions-yarn@v4
with:
cmd: docs:build # runs the `yarn docs:build` command
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
# Artifact name
name: github-pages # optional, default is github-pages
# Path of the directory containing the static assets.
path: docs/.vuepress/dist # default is _site/
# Duration after which artifact will expire in days.
retention-days: 7 # optional, default is 1
# Deploy job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4