Skip to content

neocities-deploy

neocities-deploy #396

Workflow file for this run

name: neocities-deploy
on:
workflow_run:
workflows: [ build ]
types:
- completed
concurrency: # prevent concurrent deploys doing strange things
group: deploy-to-neocities
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install deps and build
run: |
npm i
grunt
- name: Deploy to Neocities
uses: bcomnes/deploy-to-neocities@v1.1.13
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: false
dist_dir: deploy