Skip to content

trying an alternative... #15

trying an alternative...

trying an alternative... #15

Workflow file for this run

name: Deploy Website
on:
push:
branches:
- main # or the branch you want to deploy from
jobs:
deploy:
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: '20' # specify your Node.js version here
- name: Set up Git configuration
run: |
git config --global user.email "owenmoogk@gmail.com"
git config --global user.name "Owen Moogk"
- name: Install dependencies
run: npm install
- name: Compile Less to CSS
run: npx less-watch-compiler src/less src/css --run-once
- name: Build
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build