Skip to content

Commit

Permalink
rename secrets input again
Browse files Browse the repository at this point in the history
  • Loading branch information
jwartofsky-yext committed Oct 12, 2023
1 parent 39a722d commit 8e787a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
call_jstest:
needs: call_build
uses: ./.github/workflows/jstest.yml
with:
jstest_key: ${{ secrets.JSTEST_PRIVATE_SSH_KEY }}
secrets:
JSTEST_PRIVATE_SSH_KEY: ${{ secrets.JSTEST_PRIVATE_SSH_KEY }}
11 changes: 3 additions & 8 deletions .github/workflows/jstest.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
on:
workflow_call:
inputs:
jstest_key:
description: 'Key to access jstest repo'
required: true
on: workflow_call


jobs:
Expand All @@ -17,7 +12,7 @@ jobs:
uses: actions/checkout@v4

- name: "Print key (this is unsecure)"
run: echo KeyHere ${{inputs.jstest_key}} KeyEnd
run: echo KeyHere ${{ secrets.JSTEST_PRIVATE_SSH_KEY }} KeyEnd

- name: Install pnpm
uses: pnpm/[email protected]
Expand All @@ -39,7 +34,7 @@ jobs:
with:
ref: "main"
repository: yext/jstest
ssh-key: ${{ inputs.jstest_key }}
ssh-key: ${{ secrets.JSTEST_PRIVATE_SSH_KEY }}



Expand Down

0 comments on commit 8e787a0

Please sign in to comment.