From 8a127551644b0efd2201c4b5a7fdae5e7b089505 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Wed, 6 Apr 2022 19:43:52 +0200 Subject: [PATCH] Removes the github deployment api from the main branch deployment Signed-off-by: Tilman Vatteroth --- .github/workflows/deploy-main.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/workflows/deploy-main.yml b/.github/workflows/deploy-main.yml index 0d87e2ec9..d940274f3 100644 --- a/.github/workflows/deploy-main.yml +++ b/.github/workflows/deploy-main.yml @@ -43,31 +43,7 @@ jobs: - name: Remove Next.js cache to avoid it being deployed run: rm -r .next/cache - - name: Mark GitHub deployment as started - uses: bobheadxi/deployments@v1.1.0 - id: github-deployment - with: - step: start - token: ${{ secrets.GITHUB_TOKEN }} - env: "Latest main" - override: true - ref: ${{ github.ref }} - - name: Run netlify CLI deployment env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} run: bash netlify/deploy-main.sh "${{ github.event.head_commit.id }}" "${{ github.event.head_commit.message }}" - id: netlify-result - - - name: Mark GitHub deployment as finished - if: always() - uses: bobheadxi/deployments@v1.1.0 - with: - step: finish - token: ${{ secrets.GITHUB_TOKEN }} - env_url: ${{ steps.netlify-result.outputs.url }} - env: ${{ steps.github-deployment.outputs.env }} - logs: ${{ steps.netlify-result.outputs.logs }} - status: ${{ job.status }} - deployment_id: ${{ steps.github-deployment.outputs.deployment_id }} - override: true