Fixed margin #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: CI/CD # Specify the environment if using GitHub Environments | |
steps: | |
- name: Execute remote deployment script | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
port: ${{ secrets.PORT }} | |
key: ${{ secrets.SSHKEY }} | |
script: | | |
sudo chmod +x /root/asu-soda-newsite/CD.sh | |
sudo chmod +x /root/asu-soda-newsite/deploy.sh | |
ls -l /root/asu-soda-newsite/ | |
pwd | |
echo " Executing CD.sh" | |
sudo /root/asu-soda-newsite/CD.sh | |