Skip to content

Commit

Permalink
rm protection-bot (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
LAC-Ikeda authored May 28, 2020
1 parent 92e3204 commit 5a63eef
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5a63eef

Please sign in to comment.