Skip to content

feat: add neocities deploy to github actions #1

feat: add neocities deploy to github actions

feat: add neocities deploy to github actions #1

Workflow file for this run

name: Deploy to neocities
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
# When the dist_dir is ready, deploy it to neocities
- name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v1
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: false
dist_dir: public