Skip to content

correção consumir master #53

correção consumir master

correção consumir master #53

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Deploy to Server
uses: appleboy/ssh-action@master
with:
host: ec2-54-94-18-161.sa-east-1.compute.amazonaws.com
username: ubuntu
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /home/ubuntu/frontend/WallDreams
git pull origin master
# Build the project
npm run build
# Restart nginx service
sudo systemctl restart nginx