chore(deploy.yml): replace secret variable for EC2 host with actual host address for deployment testing

This commit is contained in:
Pedro Henrique 2025-01-20 13:14:11 -03:00
parent 9f27f37b3e
commit aed6c77b82

View File

@ -19,14 +19,14 @@ jobs:
switches: -avzr --delete --exclude=".git" --exclude=".env" switches: -avzr --delete --exclude=".git" --exclude=".env"
path: ./ path: ./
remote_path: evolution remote_path: evolution
remote_host: ${{ secrets.EC2_HOST }} remote_host: ec2-44-192-63-173.compute-1.amazonaws.com
remote_user: ${{ secrets.EC2_USER }} remote_user: ${{ secrets.EC2_USER }}
remote_key: ${{ secrets.EC2_SSH_KEY }} remote_key: ${{ secrets.EC2_SSH_KEY }}
- name: Start application with PM2 - name: Start application with PM2
uses: appleboy/ssh-action@v1.2.0 uses: appleboy/ssh-action@v1.2.0
with: with:
host: ${{ secrets.EC2_HOST }} host: ec2-44-192-63-173.compute-1.amazonaws.com
username: ${{ secrets.EC2_USER }} username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_SSH_KEY }} key: ${{ secrets.EC2_SSH_KEY }}
script: | script: |