mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-25 03:06:02 +10:00
mistake
This commit is contained in:
6
.github/workflows/build-site.yml
vendored
6
.github/workflows/build-site.yml
vendored
@@ -3,11 +3,11 @@ name: Build Site
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master # Or your main branch, e.g., main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.actor != 'github-actions[bot]' && github.ref == 'refs/heads/master' # Or your main branch
|
if: github.actor != 'github-actions[bot]' && github.ref == 'refs/heads/main'
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20' # LTS version
|
node-version: '20'
|
||||||
|
|
||||||
- name: Build site
|
- name: Build site
|
||||||
run: node build.js
|
run: node build.js
|
||||||
|
|||||||
Reference in New Issue
Block a user