Skip to content

Merge branch 'master' of https://github.com/Log-Wall/nexskills3 #29

Merge branch 'master' of https://github.com/Log-Wall/nexskills3

Merge branch 'master' of https://github.com/Log-Wall/nexskills3 #29

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18 # You can specify the Node.js version you need
cache: npm
- name: Install dependencies
# run: npm install
run: npm ci
- name: Build the React app
run: npm run build
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build