Skip to content

Bump actions/checkout from 3 to 4 #158

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #158

Workflow file for this run

name: 📗 Documentation Build
on:
push:
paths:
- 'docs/**'
- '.github/workflows/documentation.yml'
pull_request:
branches:
- main
paths:
- 'docs/**'
- '.github/workflows/documentation.yml'
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
cd docs
npm ci
npm run docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/.vuepress/dist
cname: docs.nubesgen.com