Skip to content

Commit

Permalink
Update dev_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ssamssamukja authored Jan 11, 2025
1 parent fce7e08 commit c686632
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,6 @@ jobs:
# target: "/home/ubuntu/cicd"
# strip_components: 2
###
- name: Verify deploy script existence
run: |
if [ ! -f ./Midnight-Snacker/deploy.sh ]; then
echo "Error: deploy.sh not found in Midnight-Snacker directory!"
exit 1
fi
ls -l ./Midnight-Snacker/deploy.sh
- name: Copy deploy script file to remote
uses: appleboy/scp-action@master
with:
username: ubuntu
host: ${{ secrets.EC2_HOST }}
key: ${{ secrets.EC2_SSH_KEY }}
source: "./Midnight-Snacker/deploy.sh"
target: "/home/ubuntu/cicd"
- name: Execute deploy script
uses: appleboy/ssh-action@master
with:
Expand Down

0 comments on commit c686632

Please sign in to comment.