Skip to content

Commit

Permalink
chore: use deploy key for gh actions fo push to protected branch
Browse files Browse the repository at this point in the history
  • Loading branch information
danceratopz committed Jun 29, 2023
1 parent 015a3d2 commit e7ca0c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3.5.2
with:
fetch-depth: 0
ssh-key: ${{secrets.GH_ACTIONS_DEPLOY_KEY}}

- name: Set up Python
uses: actions/setup-python@v2
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docs_tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3.5.2
with:
fetch-depth: 0
ssh-key: ${{secrets.GH_ACTIONS_DEPLOY_KEY}}

- name: Set up Python
uses: actions/setup-python@v2
Expand Down

0 comments on commit e7ca0c4

Please sign in to comment.