modified: .gitea/workflows/deploy.yaml
Some checks are pending
Casa Home Assistant CI/CD Pipeline (testing) / build (push) Waiting to run
Some checks are pending
Casa Home Assistant CI/CD Pipeline (testing) / build (push) Waiting to run
This commit is contained in:
@@ -12,12 +12,21 @@ jobs:
|
|||||||
runs-on: casa-vlan-cicd
|
runs-on: casa-vlan-cicd
|
||||||
env:
|
env:
|
||||||
GITHUB_TEMP: ${{ runner.temp }}
|
GITHUB_TEMP: ${{ runner.temp }}
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: setup actions from
|
||||||
|
run: |
|
||||||
|
mkdir -p ${{ runner.temp }}/gitea_src
|
||||||
|
mkdir -p ${{ gitea.workspace }}/.gitea/actions
|
||||||
|
git clone -b main --depth=1 https://git.limbosolutions.com/kb/gitea ${{ runner.temp }}/gitea_src/.gitea
|
||||||
|
ln -s ${{ runner.temp }}/gitea_src/.gitea/actions/kubectl-setup ${{ gitea.workspace }}/.gitea/actions/kubectl-setup
|
||||||
|
|
||||||
- name: Setup kubectl
|
- name: Setup kubectl
|
||||||
uses: kb/gitea/.gitea/actions/kubectl-setup@main #/.gitea/actions/kubectl-setup
|
uses: ./.gitea/actions/kubectl-setup
|
||||||
with:
|
with:
|
||||||
kube_server: ${{ secrets.CASA_VLAN_KUBE_SERVER }}
|
kube_server: ${{ secrets.CASA_VLAN_KUBE_SERVER }}
|
||||||
kube_ca_base64: ${{ secrets.CASA_VLAN_KUBE_CA_BASE64 }}
|
kube_ca_base64: ${{ secrets.CASA_VLAN_KUBE_CA_BASE64 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user