blog/.github/workflows/ci.yml

13 lines
290 B
YAML
Raw Normal View History

2023-04-07 21:44:23 +00:00
name: Publish site
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
2023-04-07 22:11:12 +00:00
- uses: kognise/neocities-deploy-action@v1
2023-04-07 21:44:23 +00:00
if: ${{ github.ref == 'refs/heads/main' }}
with:
2023-04-07 22:10:07 +00:00
neocities_token: ${{ secrets.NEOCITIES_API_KEY }}
directory: 'src/'