diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4618448..95793c5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,7 @@ concurrency: jobs: build: - name: Build + name: Build and Deploy runs-on: ubuntu-latest steps: @@ -56,6 +56,10 @@ jobs: with: path: ./dist/web + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 + - name: Create release uses: "marvinpinto/action-automatic-releases@latest" with: @@ -84,14 +88,3 @@ jobs: auto_channel: true butler_version: "latest" check_signature: false - - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4