on: push jobs: build: name: test runs-on: debian steps: - uses: actions/checkout@v1 - name: setup env run: | cat <> .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 }}"