diff --git a/.gitea/workflows/varnish-exporter.yml b/.gitea/workflows/varnish-exporter.yml index bd2a8a1..977b41d 100644 --- a/.gitea/workflows/varnish-exporter.yml +++ b/.gitea/workflows/varnish-exporter.yml @@ -11,6 +11,17 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 # default goes to /workspace/Clients/xxx + + - name: test - add env file + run: | + echo "MY_GLOBAL_VAR=newvalue" > .version + git config --global user.name 'gitea-actions' + git config --global user.email 'no-reply@brainsys.io' + git add .version + git commit -m "Update version variable" + git push + - name: Get version run: | TAG=${{ gitea.ref_name }}