Skip to content

Commit

Permalink
ci(submodule): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabveer committed Dec 4, 2023
1 parent 515d429 commit 705a031
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
with:
token: ${{ secrets.PA_TOKEN }}
submodules: true
- name: Retrieve Github Host Key
run: echo "HOSTS=$(ssh-keyscan github.com)" >> $GITHUB_OUTPUT
id: known_hosts
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
known_hosts: ${{ steps.known_hosts.outputs.HOSTS }}
- name: Update submodule
run: |
git submodule update --init --recursive --checkout -f --remote -- "${{github.event.client_payload.module}}"
Expand Down

0 comments on commit 705a031

Please sign in to comment.