From 5a63eef13892e9fd4e641c9dcf57da9b240bd508 Mon Sep 17 00:00:00 2001 From: Ikeda <64178519+LAC-Ikeda@users.noreply.github.com> Date: Thu, 28 May 2020 20:13:18 +0900 Subject: [PATCH] rm protection-bot (#247) --- .github/workflows/deploy.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8200c0090d6d5..bc155fd26fe49 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,34 +46,7 @@ jobs: AWS_REGION: 'ap-northeast-1' FROM_PATH: './dist' DEST_PATH: ${{ secrets.AWS_S3_BUCKET_PRODUCTION }} - - - name: Temporarily disable "include administrators" branch protection - uses: benjefferies/branch-protection-bot@master - if: always() - with: - access-token: ${{ secrets.ACCESS_TOKEN }} - branch: production - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist - publish_branch: production - - - 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: covid19-kitakyushu - repo: covid19 - branch: production - - name: Create GitHub release - uses: rymndhng/release-on-push-action@master - with: - bump_version_scheme: patch - + - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: