Skip to content

Commit

Permalink
Try without keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwcarlson committed Oct 27, 2023
1 parent 8eb099e commit 42a8b5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ jobs:
echo "::notice::Verifying CLI is authenticated correctly."
# upsun auth:api-token-login
upsun org:info -o $TEST_ORG_NAME name
- name: "[SETUP] 6. Authenticate Upsun CLI for pushes"
run: |
upsun ssh-cert:load --new -y
touch ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
ssh-keyscan ssh.$TEST_PROJECT_REGION.platform.sh -v >> ~/.ssh/known_hosts
ssh-keyscan git.$TEST_PROJECT_REGION.platform.sh -v >> ~/.ssh/known_hosts
# - name: "[SETUP] 6. Authenticate Upsun CLI for pushes"
# run: |
# upsun ssh-cert:load --new -y
# touch ~/.ssh/known_hosts
# chmod 644 ~/.ssh/known_hosts
# ssh-keyscan ssh.$TEST_PROJECT_REGION.platform.sh -v >> ~/.ssh/known_hosts
# ssh-keyscan git.$TEST_PROJECT_REGION.platform.sh -v >> ~/.ssh/known_hosts
################################################################################################
# B. Setting up test project.
- name: "[PROJECT] 1. Create a project in the test org, update prod branch title."
Expand All @@ -107,7 +107,7 @@ jobs:
- name: "[PROJECT] 3. Set remote."
run: |
echo "::notice::Setting remote for the project locally."
# TEST_PROJECT_ID=$(upsun project:list -o "$TEST_ORG_NAME" --title "$TEST_PROJECT_TITLE" --pipe)
TEST_PROJECT_ID=$(upsun project:list -o "$TEST_ORG_NAME" --title "$TEST_PROJECT_TITLE" --pipe)
cd $TEST_PROJECT_LOCALDIR
upsun project:set-remote $TEST_PROJECT_ID
git remote remove origin
Expand Down

0 comments on commit 42a8b5f

Please sign in to comment.