From a568d0779095157085e67f215ed16b6f5bf75f26 Mon Sep 17 00:00:00 2001 From: Eric Eggert Date: Thu, 26 Sep 2019 08:44:59 +0200 Subject: [PATCH] Make it even simpler to publish, hopefully --- .../workflows/{ruby.yml => create-release.yml} | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) rename .github/workflows/{ruby.yml => create-release.yml} (65%) diff --git a/.github/workflows/ruby.yml b/.github/workflows/create-release.yml similarity index 65% rename from .github/workflows/ruby.yml rename to .github/workflows/create-release.yml index da9b4ba36c7..48870cbcc5e 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/create-release.yml @@ -1,9 +1,7 @@ name: Ruby on: - push: - tags: - - '*' + release jobs: build: @@ -16,7 +14,17 @@ jobs: uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - - name: Build and test with Rake + - name: Update Externals + run: | + git submodules update --remote + - name: commit changed files + uses: stefanzweifel/git-auto-commit-action@v2.1.0 + with: + commit_message: Apply automatic changes + branch: ${{ github.head_ref }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Build and test with Jekyll run: | gem install bundler bundle install --jobs 4 --retry 3