Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
code-wolf-byte authored Oct 6, 2024
1 parent 551075e commit 69d014e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ jobs:
environment: CI/CD # Specify the environment if using GitHub Environments

steps:
- name: Print User, Host, and Port Information
run: |
echo "Username: ${{ secrets.USERNAME }}"
echo "Host: ${{ secrets.HOST }}"
echo "Port: ${{ secrets.PORT }}"
- name: Execute remote deployment script
uses: appleboy/ssh-action@master
with:
Expand All @@ -20,7 +26,8 @@ jobs:
sudo chmod +x /root/soda-admin/deploy.sh
ls -l /root/soda-admin/
pwd
echo " Executing CD.sh"
echo "Executing CD.sh"
sudo /root/soda-admin/CD.sh

0 comments on commit 69d014e

Please sign in to comment.