Skip to content

Commit

Permalink
adding logs for initial steps
Browse files Browse the repository at this point in the history
  • Loading branch information
adl-trey committed Mar 8, 2024
1 parent 9c8b32e commit e988b75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ jobs:
steps:
- name: Configure SSH
run: |
echo "Configuring SSH to reach staging instance."
mkdir -p ~/.ssh
echo "${{ secrets.ADLNET_STAGING_SSH_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan "${{ secrets.ADLNET_STAGING_HOST }}" >> ~/.ssh/known_hosts
- name: Deploy code on Staging
run: |
echo "SSH into staging machine."
ssh ${{ secrets.ADLNET_STAGING_HOST_USER }}@${{ secrets.ADLNET_STAGING_HOST }}
cd ${{ secrets.ADLNET_STAGING_PROJECT_DIR }}
echo 'Pulling Latest Code from Repository...'
Expand Down

0 comments on commit e988b75

Please sign in to comment.