Merge pull request #71 from HideyoshiSolutions/cicd-fix

Fixes CI/CD
This commit is contained in:
2024-02-14 00:58:51 -03:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -48,7 +48,8 @@ jobs:
port: ${{ secrets.SSH_PORT }} port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }} key: ${{ secrets.SSH_KEY }}
script: | script: |
sudo apt update && sudo apt install -y jq python3-pip sudo apt update && sudo apt install -y jq
export KUBECONFIG=$HOME/.kube/k3s.yaml
cd infra-hideyoshi.com cd infra-hideyoshi.com
./deploy.sh --prod ./deploy.sh --prod
./refresh.sh ./refresh.sh

View File

@@ -45,7 +45,8 @@ jobs:
port: ${{ secrets.SSH_PORT }} port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }} key: ${{ secrets.SSH_KEY }}
script: | script: |
sudo apt update && sudo apt install -y jq python3-pip sudo apt update && sudo apt install -y jq
export KUBECONFIG=$HOME/.kube/k3s.yaml
cd infra-hideyoshi.com cd infra-hideyoshi.com
./deploy.sh --staging ./deploy.sh --staging
./refresh.sh ./refresh.sh