Skip to content

Commit

Permalink
branch-protection-botの削除
Browse files Browse the repository at this point in the history
  • Loading branch information
MasaGon committed May 28, 2020
1 parent b718d0e commit c034dae
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,13 @@ jobs:
env:
GOOGLE_ANALYTICS_ID: ${{ secrets.GOOGLE_ANALYTICS_ID }}

- 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: tokyo-metropolitan-gov
repo: covid19
branch: production
- name: Create GitHub release
uses: rymndhng/release-on-push-action@master
with:
Expand Down

0 comments on commit c034dae

Please sign in to comment.