Skip to content

Add CMS redirect to dashboard navbar #35

Add CMS redirect to dashboard navbar

Add CMS redirect to dashboard navbar #35

Workflow file for this run

name: Build on Push
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Set up Git
run: |
git config --global user.name 'jayzsh'
git config --global user.email '[email protected]'
- name: Push Changes
env:
GITHUB_TOKEN: ${{ secrets.JAYZSH_GH_TOKEN }}
run: |
git checkout gh-pages
cp -r ./dist/* ./
rm -rf dist
git add .
git commit -m "Running workflow:on_push.yaml"
git push origin gh-pages