mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-16 22:56:28 +00:00
Update neocities.yml
This commit is contained in:
parent
898a85881d
commit
223504cb70
10
.github/workflows/neocities.yml
vendored
10
.github/workflows/neocities.yml
vendored
@ -5,19 +5,23 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
env:
|
||||||
|
FORCE_COLOR: 2
|
||||||
|
node_version: lts/*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
- uses: actions/checkout@v2
|
||||||
# Set up any tools and build steps here
|
# Set up any tools and build steps here
|
||||||
# This example uses a Node.js toolchain to build a site
|
# This example uses a Node.js toolchain to build a site
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v2.5.1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 15
|
node-version: ${{ env.node_version }}
|
||||||
- run: npm i
|
- run: npm i
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
# When the dist_dir is ready, deploy it to neocities
|
# When the dist_dir is ready, deploy it to neocities
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user