Update neocities.yml

This commit is contained in:
Bret Comnes 2022-02-08 11:24:10 -08:00 committed by GitHub
parent 898a85881d
commit 223504cb70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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