diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-10-21 23:36:05 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-10-21 23:36:05 +0200 |
| commit | f5a4b91b7cc5ceaa805ddfe1285f3ec7e5b30a90 (patch) | |
| tree | cda54ba7a866a95de5ef5574fd51d41cf213b313 /.github/workflows/deploy.yml | |
| parent | 01996d722d5b9e1b906c3971fbbf8dc540274d39 (diff) | |
Refactor solution file and update region configuration with bounds and text color
Diffstat (limited to '.github/workflows/deploy.yml')
| -rw-r--r-- | .github/workflows/deploy.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 247602f..09ecff3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -95,7 +95,7 @@ jobs: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 ssh-keyscan -H ${{ secrets.TARGET_HOST }} >> ~/.ssh/known_hosts - + - name: Deploy frontend run: | scp -r dist/frontend/* ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}:${{ secrets.TARGET_PATH }}/ @@ -106,5 +106,8 @@ jobs: - name: Upload backend run: scp -r dist/backend/* app@${{ secrets.TARGET_HOST }}:/opt/busurbano/ + - name: Allow execution + run: ssh ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }} "echo ${{ secrets.TARGET_PASSWORD }} | sudo -S chmod +x /opt/busurbano/Costasdev.Busurbano.Backend" + - name: Start service run: ssh ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }} "echo ${{ secrets.TARGET_PASSWORD }} | sudo -S /usr/bin/systemctl start busurbano" |
