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 uses: peaceiris/actions-hugo@v2
- name: build - name: build
run: hugo --minify run: hugo --minify
- uses: bcomnes/deploy-to-neocities@v1 - uses: kognise/neocities-deploy-action@v1
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/main' }}
with: with:
api_token: ${{ secrets.NEOCITIES_API_KEY }} neocities_token : ${{ secrets.NEOCITIES_API_KEY }}
cleanup: true directory: 'public/'
dist_dir: public