fix: fixes broken deployment
This commit is contained in:
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user