Skip to content

Commit

Permalink
ci(submodule): use ssh key
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabveer committed Dec 4, 2023
1 parent 515d429 commit e3e4e97
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PA_TOKEN }}
ssh-key: ${{ secrets.SSH_KEY }}
submodules: true
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Update submodule
run: |
git submodule update --init --recursive --checkout -f --remote -- "${{github.event.client_payload.module}}"
Expand Down

0 comments on commit e3e4e97

Please sign in to comment.