Skip to content

Add github action for pages #1

Add github action for pages

Add github action for pages #1

name: Build, Deploy to GitHub Pages and Deploy PR Preview
on:
push:
branches: [main, master]
pull_request:
types:
- opened
- reopened
- synchronize
- closed
permissions:
contents: write
pull-requests: write
concurrency: ci-${{ github.ref }}
jobs:
build-deploy-and-preview:
name: Build, Deploy to GitHub Pages and Deploy PR Preview
runs-on: ubuntu-latest
steps:
- name: Build, Deploy to GitHub Pages and Deploy PR Preview
uses: chvmvd/[email protected]
with:
type: docusaurus
package-manager: yarn