diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml new file mode 100644 index 0000000..d8c7eb4 --- /dev/null +++ b/.gitea/workflows/update.yaml @@ -0,0 +1,35 @@ +name: test + +on: + - pull_request + - push +# push: +# branches: +# - master +# tags: +# - v* + +jobs: + test: + strategy: + matrix: + brew_version: ["3.6.14", "latest"] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: update + run: ./bump_version.sh + - name: set key + run: | + mkdir -p ~/.ssh + echo "${{ secrets.DEPLOY_KEY }}" | base64 -d > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + ssh-keyscan gitea.com >> ~/.ssh/known_hosts + - name: commit + run: | + git config --global user.email "teabot@gitea.io" + git config --global user.name "GiteaBot" + git add --all + git commit -m "[skip ci] Updated Version via cron" + #git push origin main +