Merge pull request #3 from YellowUmbrellaDev/fix/idioma-español #24
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: Deploy to Server | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up SSH | |
| uses: webfactory/ssh-agent@v0.5.3 | |
| with: | |
| ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
| - name: Connect to server and deploy | |
| run: | | |
| ssh -o StrictHostKeyChecking=no root@nereacassian.com 'cd /root/web && git pull && docker compose up -d --build' | |
| - name: Actions Status Discord | |
| uses: sarisia/actions-status-discord@v1.13.0 | |
| with: | |
| webhook: ${{ secrets.DISCORD_WEBHOOK_URL }} | |
| status: ${{ job.status }} | |
| title: ${{ github.repository }} | |
| description: "Deployed to server" | |
| url: "https://github.com/The-Yellow-Umbrella/web/actions/" | |
| avatar_url: "https://yellowumbrella.dev/yellowumbrella512.png" | |
| username: "Yellow Umbrella web Actions" | |