maybe this fixes it? #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Install dependencies | |
run: npm install | |
- name: Install less-watch-compiler | |
run: npm install -g less-watch-compiler | |
- name: Compile Less to CSS | |
run: npx less-watch-compiler src/less src/css --run-once | |
- name: Deploy | |
run: npm run deploy | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |