Skip to content

Commit db3c16c

Browse files
committed
Update workflow
Signed-off-by: Pierre-Charles David <[email protected]>
1 parent 7201782 commit db3c16c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout templates
26-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
with:
2828
fetch-depth: 0
2929
token: ${{ secrets.GITHUB_TOKEN }}
3030
path: ${{ env.WEBSITE_SOURCES_DIR }}
3131
- name: Checkout content website
32-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
with:
3434
repository: ${{ env.WEBSITE_CONTENT_REPO }}
3535
token: ${{ secrets.GITHUB_TOKEN }}
3636
path: ${{ env.WEBSITE_CONTENT_DIR }}
3737
- name: Setup Ruby
38-
uses: ruby/setup-ruby@401c19e14f474b54450cd3905bb8b86e2c8509cf # v1.204.0
38+
uses: ruby/setup-ruby@d781c1b4ed31764801bfae177617bb0446f5ef8d # v1.218.0
3939
with:
4040
ruby-version: '3.3'
4141
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
@@ -64,5 +64,5 @@ jobs:
6464
git config user.email ${{ github.event.head_commit.author.email }}
6565
git config -l | grep 'http\..*\.extraheader' | cut -d= -f1 | xargs -L1 git config --unset-all
6666
git remote set-url origin https://x-access-token:${{ secrets.GH_ACTION_TOKEN }}@github.com/${{ env.WEBSITE_CONTENT_REPO }}
67-
git commit -am "${{ github.event.head_commit.message }}"
67+
echo ${{ github.event.head_commit.message }} | git commit -am -F-
6868
git push origin

0 commit comments

Comments
 (0)