Workflow: update ci.yml

This commit is contained in:
osamu-kj 2023-04-08 12:52:13 +02:00
parent b2247b59d4
commit 34717830a4

View File

@ -10,9 +10,8 @@ jobs:
uses: peaceiris/actions-hugo@v2
- name: build
run: hugo --minify
- uses: bcomnes/deploy-to-neocities@v1
- uses: kognise/neocities-deploy-action@v1
if: ${{ github.ref == 'refs/heads/main' }}
with:
api_token: ${{ secrets.NEOCITIES_API_KEY }}
cleanup: true
dist_dir: public
neocities_token : ${{ secrets.NEOCITIES_API_KEY }}
directory: 'public/'