Skip to content

Commit

Permalink
[BUGS-6560]: Tests tokenized origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Wagner committed Jan 30, 2024
1 parent 3a67241 commit 0dc4f29
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/ssh-auth-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,8 @@ jobs:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: ignore
- name: Log in with GH auth
id: gh_auth
run: |
echo ${{ secrets.PANTHEONSYSTEMS_DEPLOY_TOKEN }} > authtmp.txt
gh auth login --with-token < authtmp.txt
rm authtmp.txt
gh auth status
- name: Get env variables
id: get_variables
run: |
env > /home/runner/work/search_api_pantheon/search_api_pantheon/temp_log.txt
- name: Test SSH Auth
id: test_auth
run: |
gh auth login
gh auth status
gh config git
git remote add tokenized_origin ${{ secrets.TOKENIZED_ORIGIN }}
git ls-remote tokenized_origin

0 comments on commit 0dc4f29

Please sign in to comment.