Skip to content

Jikun/nextjs deploy (#746) #157

Jikun/nextjs deploy (#746)

Jikun/nextjs deploy (#746) #157

Workflow file for this run

name: Deploy CLI docs
on:
push:
branches: [main]
jobs:
build_and_deploy_job:
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Wassim Chegham"
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '16.x'
- name: "deploy docs"
run: |
cd docs/www/
npm ci
npm run deploy
env:
GIT_PASS: ${{ secrets.SWA_CLI_DEPLOY_DOCS_GH_PAGES }}
GIT_USER: "manekinekko"