Skip to content

chatgpt thinks this will work #13

chatgpt thinks this will work

chatgpt thinks this will work #13

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: Deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: npm run deploy