Files
Janik von Rotz 20829c8f17 feat: move Vuepress documentation to docs folder and update workflows
- Rename GitHub Actions workflows to `deploy-docs.yml` and `test-project.yml` with specific job names
- Configure `deploy-docs.yml` to trigger only on markdown file changes
- Create `docs/` directory and move `roles.md`, `scripts.md`, and `upgrade-odoo.md` into it
- Add symlinks in `docs/` for `README.md` and `roles/` to maintain root-level access
- Update `.vuepress/config.js` to resolve absolute paths for `dest`, `public`, `temp`, and `cache`
- Update `package.json` scripts to build and dev from the `docs` folder
- Mark the migration task in `prompt.md` as completed with model and token details
2026-10-06 14:19:05 +02:00

29 lines
839 B
YAML

on:
push:
branches:
- "main"
paths:
- "**.md"
jobs:
deploy:
name: Deploy Docs
runs-on: ubuntu-latest
steps:
- name: Install kubectl
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl
- name: Create Kubeconfig for Deployment
run: |
mkdir -p $HOME/.kube
echo "${{ secrets.KUBECONFIG_DEPLOY }}" > $HOME/.kube/config
- name: Verify kubectl version
run: ./kubectl version --client
- name: Delete existing pods
run: ./kubectl delete pods -l app=taskfile-build -n ansible-build
- name: Wait for pod to be running
run: ./kubectl wait --for=condition=Ready pod -l app=taskfile-build -n ansible-build --timeout=60s