Skip to content

add small test (#62) #67

add small test (#62)

add small test (#62) #67

Workflow file for this run

# This workflow will generate the static page under `main` subdirectory inside the `gh-pages` branch
# This workflow will run every time new changes were pushed to the `main` branch
name: App build CI/CD to main branch
on:
push:
branches: [ main ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Git
run: |
git config --global user.name "Github Actions"
git config --global user.email "actions@github.com"
- uses: actions/setup-node@v6
- name: Install dependencies
run: npm install
- name: Create build files for gh-pages deploy
run: npm run ghpages:build
# Reference: https://github.com/JamesIves/github-pages-deploy-action
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.7.6
with:
branch: gh-pages
folder: ghpages
clean-exclude: pr/
force: false
target-folder: main