diff --git a/.github/workflows/hugo_ci.yml b/.github/workflows/hugo_ci.yml index bd70e27..4c124b4 100644 --- a/.github/workflows/hugo_ci.yml +++ b/.github/workflows/hugo_ci.yml @@ -25,9 +25,9 @@ jobs: extended: true - name: Build run: hugo -D -F - - name: Deploy - uses: avakar/create-deployment@v1 + - name: Create GitHub deployment + uses: chrnorm/deployment-action@releases/v1 + id: deployment with: - auto_merge: false - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + token: "${{ github.token }}" + environment: production