fix: fixes broken deployment

This commit is contained in:
2025-11-07 18:32:16 -03:00
parent d7aef57e7a
commit bc12d7a5c3
2 changed files with 14 additions and 20 deletions

View File

@@ -1,5 +1,3 @@
name: remote ssh command
on:
repository_dispatch:
types:
@@ -13,6 +11,9 @@ jobs:
name: Deploy to Cluster
runs-on: ubuntu-latest
timeout-minutes: 30
env:
GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
steps:
- name: Checkout Repository
@@ -24,10 +25,6 @@ jobs:
method: kubeconfig
kubeconfig: ${{ secrets.PORTFOLIO_KUBECONFIG }}
- name: Configures GHCR credentials
run: |
echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Execute deploy
run: |
./deploy.sh