Skip to content

Commit 126ae31

Browse files
authored
Merge pull request #79 from aabhinavg1/aabhinavg1-patch-2
Update node.js.yml
2 parents 40125f3 + fd68626 commit 126ae31

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: .github/workflows/node.js.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,15 @@ jobs:
2020
- name: Checkout the code
2121
uses: actions/checkout@v4
2222

23+
- name: Set up SSH keys for GitHub
24+
run: |
25+
mkdir -p ~/.ssh
26+
echo "${{ secrets.GITHUB_SSH_KEY }}" > ~/.ssh/id_rsa
27+
chmod 600 ~/.ssh/id_rsa
28+
ssh-keyscan github.com >> ~/.ssh/known_hosts
29+
2330
- name: Add submodule for newsletter_modal
24-
run: git submodule add https://github.com/aabhinavg1/newletter_modal.git src/components/newsletter_modal
31+
run: git submodule add git@github.com:aabhinavg1/newletter_modal.git src/components/newsletter_modal
2532

2633
- name: Set up Node.js ${{ matrix.node-version }}
2734
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)