Skip to content

Merge pull request #211 from D3SOX/dependabot/npm_and_yarn/vitepress-… #119

Merge pull request #211 from D3SOX/dependabot/npm_and_yarn/vitepress-…

Merge pull request #211 from D3SOX/dependabot/npm_and_yarn/vitepress-… #119

name: Build and Deploy
on:
push:
branches: [ master ]
jobs:
cd:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
node: [ 20 ]
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
- name: Setup node env 🏗
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Install dependencies 👨🏻‍💻
run: yarn install --frozen-lockfile
- name: Generate 👷
run: yarn build
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vitepress/dist
commit_message: ${{ github.event.head_commit.message }}
cname: cryb.d3sox.me