synapse/.gitea/workflows/deploy.yaml

19 lines
416 B
YAML
Raw Normal View History

2024-05-01 09:29:32 +00:00
on: push
jobs:
build:
name: test
runs-on: debian
steps:
- uses: actions/checkout@v1
- name: setup env
run: |
cat <<EOF >> .env
BASE_URL="${{ gitea.ref_name }}.$(tr / '\n' <<< "${{ gitea.repository }}" | tac | tr '\n' .)k8s.gmoker.com"
EOF
cat .env
- uses: actions/k8sdeploy@v1
with:
kubeconfig: "${{ secrets.K8S }}"