Skip to content

Commit

Permalink
try to debug errors with fake data
Browse files Browse the repository at this point in the history
  • Loading branch information
fatemeh-i committed Apr 19, 2024
1 parent 6008e95 commit e8b6ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev-otc-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
echo ${{ steps.read_partners_data.outputs.SSH_USER }} | openssl aes-256-cbc -d -a -pass pass:${{secrets.PARTNERS_KEY }} > decrypted_user.txt
curl -L -o priv_file.txt -H "Authorization: token ${{secrets.PARTNERS_ACCESS_TOKEN}} " https://raw.githubusercontent.com/opexdev/partners/main/${{ steps.read_partners_data.outputs.SSH_PRIVATE_KEY }}
cat priv_file.txt | openssl aes-256-cbc -d -a -pass pass:${{secrets.PARTNERS_KEY }} > decrypted_private_key.txt
cat priv_file.txt
echo ${{ steps.read_partners_data.outputs.SSH_PRIVATE_KEY }}
cat decrypted_private_key
cat decrypted_private_key.txt
export SSH_SECRET_NN=$( cat decrypted_private_key.txt | tr -s '\r\n' '#')
echo "ssh_user=$(cat decrypted_user.txt)" >> $GITHUB_OUTPUT
echo "ssh_dir=$(cat decrypted_dir.txt)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit e8b6ea5

Please sign in to comment.