31 lines
579 B
YAML
31 lines
579 B
YAML
name: deploy to neocities
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
concurrency:
|
|
group: deploy-to-neocities
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
jekyll:
|
|
name: Build and deploy Jekyll site
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
uses: jerryjvl/jekyll-build-action@v1
|
|
|
|
- name: Deploy to neocities
|
|
uses: bcomnes/deploy-to-neocities@v1
|
|
with:
|
|
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
|
|
cleanup: true
|
|
dist_dir: _site
|
|
protected_files: 'dropbox/*'
|
|
|