Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Made deploy workflow target correct branch #1

Made deploy workflow target correct branch

Made deploy workflow target correct branch #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- docs
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build project
run: npm run build
- name: Deploy to GitHub Pages
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
npm run deploy