Skip to content

Separate major dependency updates #311

Separate major dependency updates

Separate major dependency updates #311

Workflow file for this run

name: Home Server
on:
push:
branches:
- main
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup kubectl
run: |
curl -LO "https://storage.googleapis.com/kubernetes-release/release/v1.25.0/bin/linux/amd64/kubectl"
chmod +x kubectl
sudo mv kubectl /usr/local/bin/kubectl
mkdir -p ~/.kube
echo "${{ secrets.KUBECONFIG }}" | base64 --decode > ~/.kube/config
chmod 0600 ~/.kube/config
- name: Deploy server
working-directory: k8s
run: |
pushd ingresses && ./build.sh | kubectl apply --server-side --force-conflicts -f - && popd
pushd applications && ./build.sh | kubectl apply --server-side --force-conflicts -f - && popd