From a190b431dcfb825a8c4a352c935b46e3b0683bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Zorro?= Date: Thu, 7 Mar 2024 13:47:46 -0500 Subject: [PATCH] ci: test update install file --- .github/workflows/main.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ddbd7ae..726a019 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -106,3 +106,22 @@ jobs: prerelease: ${{contains(github.ref, '-beta')}} body_path: ./dist/changelog.txt files: ./dist/releases/${{github.ref_name}}/* + - run: mv dist/releases/install.sh assets/install.sh + if: startsWith(github.ref, 'refs/tags/') + - uses: stefanzweifel/git-auto-commit-action@v5 + if: startsWith(github.ref, 'refs/tags/') + with: + commit_message: Updated install script + branch: gh-pages + commit_options: '--no-verify --signoff' + file_pattern: 'assets/install.sh' + repository: . + commit_user_name: GitHub Actions Bot # defaults to "github-actions[bot]" + status_options: '--untracked-files=no' + add_options: '-u' + push_options: '--force' + skip_dirty_check: true + skip_fetch: true + skip_checkout: true + disable_globbing: true + create_branch: false