Skip to content

docs📝: update docs #33

docs📝: update docs

docs📝: update docs #33

Workflow file for this run

name: auto-build
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max_old_space_size=40960"
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: "18.15.0"
- name: Install & Build
run: npm install && npm run build
- name: Deploy to GitHub Repo
uses: crazy-max/ghaction-github-pages@v2.2.0
with:
repo: coder-new-web/coder-new-web.github.io
target_branch: main
build_dir: src/.vuepress/dist
env:
GH_PAT: ${{ secrets.ACCESS_TOKEN }}