blog/.github/workflows/ci.yml
2023-04-08 00:04:26 +02:00

14 lines
303 B
YAML

name: Publish site
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: bcomnes/deploy-to-neocities@v1
if: ${{ github.ref == 'refs/heads/main' }}
with:
api_token: ${{ secrets.NEOCITIES_API_KEY }}
dist_dir: ../src
cleanup: true