modified: .gitea/workflows/deploy.yaml
All checks were successful
Casa Home Assistant CI/CD Pipeline (testing) / build (push) Successful in 17s

This commit is contained in:
2025-11-22 16:48:20 +00:00
parent 679596f0c0
commit cf650391c4

View File

@@ -18,20 +18,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: setup actions from
- name: fetch limbo public actions
run: |
ls -lah ${{ runner.temp }}
ls -lah ${{ gitea.workspace }}
mkdir -p ${{ runner.temp }}/gitea_src
mkdir -p ${{ gitea.workspace }}/.gitea/actions
mkdir -p ${{ gitea.workspace }}/.gitea/limbo_actions
git clone -b main --depth=1 https://git.limbosolutions.com/kb/gitea ${{ runner.temp }}/gitea_src
ln -s ${{ runner.temp }}/gitea_src/.gitea/actions/kubectl-setup ${{ gitea.workspace }}/.gitea/actions/kubectl-setup
ls -lah ${{ gitea.workspace }}/.gitea/actions/kubectl-setup
ls -lah ${{ gitea.workspace }}/.gitea/actions/kubectl-setup/*
for dir in ${{ runner.temp }}/gitea_src/.gitea/actions/*; do
ln -s "$dir" "${{ gitea.workspace }}/.gitea/limbo_actions/$(basename "$dir")"
done
- name: Setup kubectl
uses: ./.gitea/actions/kubectl-setup
uses: ./.gitea/limbo_actions/kubectl-setup
with:
kube_server: ${{ secrets.CASA_VLAN_KUBE_SERVER }}
kube_ca_base64: ${{ secrets.CASA_VLAN_KUBE_CA_BASE64 }}