Fixes CI/CD
This commit is contained in:
3
.github/workflows/deploy-prod.yml
vendored
3
.github/workflows/deploy-prod.yml
vendored
@@ -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
|
||||||
3
.github/workflows/deploy-staging.yml
vendored
3
.github/workflows/deploy-staging.yml
vendored
@@ -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
|
||||||
Reference in New Issue
Block a user