File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Deploy"
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ build_deploy :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : " Baixar o código"
11+ uses : actions/checkout@v4
12+ - name : " PHP Composer install"
13+ run : composer install --no-interaction --no-progress --no-suggest --no-dev --ignore-platform-reqs
14+
15+ - name : " Copiar arquivos para VPS"
16+ 17+ with :
18+ host : " ${{ secrets.SSH_HOST }}"
19+ username : " ${{ secrets.SSH_USER }}"
20+ password : " ${{ secrets.SSH_PASS }}"
21+ source : " ."
22+ target : /home/projetos/devandcoffee/api-auth
23+
24+ - name : " Build da aplicação"
25+ 26+ with :
27+ host : " ${{ secrets.SSH_HOST }}"
28+ username : " ${{ secrets.SSH_USER }}"
29+ password : ${{ secrets.SSH_PASS }}
30+ script : |
31+ cd /home/projetos/devandcoffee/api-auth
You can’t perform that action at this time.
0 commit comments