Skip to content

Update image

Update image #299

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@v4
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}}
- run: npm i
- run: npm run deploy
env:
NEOCITIES_API_TOKEN: ${{ secrets.NEOCITIES_API_TOKEN }}