diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index ef019a4..394b24d 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -106,6 +106,26 @@ jobs: echo "VM provisioning encountered errors - exiting" exit 1 fi + - name: Upload template + run: | + curl -sS -X POST "https://lab-hv-vip.bessems.lan/v1/harvesterhci.io.virtualmachinetemplates" \ + -H "Authorization: Bearer ${{ secrets.HV_TOKEN }}" \ + -H "Content-Type: application/json" \ + -d @- <