From a0562f379c01db07f605167c910021d78bdb4ce4 Mon Sep 17 00:00:00 2001 From: Cong Date: Mon, 27 Sep 2021 09:43:57 +1000 Subject: [PATCH] Don't deploy with github actions Deployment already done by netlify directly --- .github/workflows/main.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ad342409d..9b452cf89 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,21 +25,3 @@ jobs: yarn danger ci env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Before Deploy - run: | - pipenv run htmlmin _build/index.html _build/index.html - - - name: Netlify Actions - # You may pin to the exact commit or the version. - # uses: nwtgck/actions-netlify@f517512ae75beec8896aa7b027c1c72f01816200 - uses: nwtgck/actions-netlify@v1.2.2 - with: - publish-dir: _build - production-branch: master - github-token: ${{ secrets.GITHUB_TOKEN }} - fails-without-credentials: true - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: 6f222827-83c1-4882-8d4e-6781973be25d - timeout-minutes: 2