diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b61e3a..07e62b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,13 +5,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: setup hugo uses: peaceiris/actions-hugo@v2 - name: build run: hugo --minify - - uses: kognise/neocities-deploy-action@v1 + - uses: bcomnes/deploy-to-neocities@v1 if: ${{ github.ref == 'refs/heads/main' }} with: - neocities_token : ${{ secrets.NEOCITIES_API_KEY }} - directory: 'public/' + api_token: ${{ secrets.NEOCITIES_API_KEY }} + dist_dir: public