Skip to content

Typo

Typo #257

Workflow file for this run

name: Deploy to neociteis
on:
push:
branches:
- master
env:
node-version: 21
FORCE_COLOR: 2
concurrency: # prevent concurrent deploys doing starnge things
group: deploy-to-neocities
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create LFS file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
- name: Restore LFS cache
uses: actions/cache@v3
id: lfs-cache
with:
path: .git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1
- name: Git LFS Pull
run: git lfs pull
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{env.node-version}}
- name: npm install and build
run: |
npm i
npm run build
env:
CI: true
- name: Create deployment
uses: bobheadxi/deployments@v1
id: deployment
with:
step: start
token: ${{ secrets.GITHUB_TOKEN }}
env: neocities
- name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v1
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: true