Skip to content

Commit

Permalink
Debug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kasbah committed Oct 13, 2023
1 parent 333cc3d commit d37b55f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,16 @@ jobs:
echo 'S3_PROCESSOR_BUCKET_NAME=kitspace-staging-master' >> $GITHUB_ENV;;
esac
- name: Copy the script to host
run: |
dig '${{ github.ref_name }}.staging.kitspace.dev'
echo -e '${{ secrets.STAGING_SSH_PRIVATE_KEY }}' > key-file
chmod 600 key-file
cat key-file
cat hello > hello.txt
scp -i key-file -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no hello 'deploy@${{ github.ref_name }}.staging.kitspace.dev:'
- name: Deploy to ${{ github.ref_name }}.staging.kitspace.dev
id: deploy_to_staging
uses: kitspace/docker-remote-deployment-action@master
Expand Down

0 comments on commit d37b55f

Please sign in to comment.