Skip to content

Commit 7e2a8dd

Browse files
authored
Branch protection #2 (#185)
* Use HC_BOT_TOKEN to ignore branch protection * Create Test.md * Update deploy-prod.yml
1 parent 9317753 commit 7e2a8dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v3
25+
with:
26+
token: ${{ secrets.HC_BOT_TOKEN }}
27+
2528
- name: Deploy
2629
run: |
2730
cd _deploy
@@ -34,5 +37,3 @@ jobs:
3437
git config user.email ft_support@github.com
3538
git add .
3639
git diff-index --quiet HEAD || git commit -m "Update front matter" && git push
37-
with:
38-
token: ${{ secrets.HC_BOT_TOKEN }}

0 commit comments

Comments
 (0)