Skip to content

Commit

Permalink
ci(submodule): remove 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 595f0d9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ on:
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PA_TOKEN }}
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 595f0d9

Please sign in to comment.