alterando estilos #21
This file contains hidden or 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: markdownEditor CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # - name: Checkout do repositorio | |
| # uses: actions/checkout@v1 | |
| - name: Deploy to server | |
| uses: appleboy/[email protected] | |
| with: | |
| host: ${{ secrets.REMOTE_HOST }} | |
| username: ${{ secrets.REMOTE_USER }} | |
| password: ${{ secrets.REMOTE_PASSWORD }} | |
| port: ${{ secrets.REMOTE_PORT }} | |
| # key: ${{ secrets.SERVER_SSH_KEY }} | |
| script: | | |
| echo "(php artisan down) || true" | |
| echo "running pull..." | |
| cd domains/${{ secrets.APP_URL }}/ | |
| git pull | |
| echo "done!" | |
| echo "running deploy.sh..." | |
| chmod +x .github/scripts/deploy.sh | |
| ./.github/scripts/deploy.sh | |
| php artisan up | |
| echo "done!" | |