From ca9305407b56cfbcb19e0cf0ef6702d7c8e887df Mon Sep 17 00:00:00 2001 From: ohyama Date: Sun, 29 Mar 2020 21:47:23 +0900 Subject: [PATCH] fix ci setting --- .github/workflows/deploy.yml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f905f8f5ecb..3e0d6866d76 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,39 +28,16 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - + - run: yarn install --frozen-lockfile - run: yarn run test - run: yarn run generate:deploy --fail-on-page-error env: GOOGLE_ANALYTICS_TRACKING_ID: UA-160592267-1 - - name: Temporarily disable "include administrators" branch protection - uses: benjefferies/branch-protection-bot@master - if: always() - with: - access-token: ${{ secrets.ACCESS_TOKEN }} - branch: prod-pages - - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist publish_branch: prod-pages - - - name: Enable "include administrators" branch protection - uses: benjefferies/branch-protection-bot@master - if: always() # Force to always run this step to ensure "include administrators" is always turned back on - with: - access-token: ${{ secrets.ACCESS_TOKEN }} - owner: tokyo-metropolitan-gov - repo: covid19 - branch: prod-pages - - -# Disabled create release -# - name: Create GitHub release -# uses: rymndhng/release-on-push-action@master -# with: -# bump_version_scheme: patch