Skip to content

Commit 0086aca

Browse files
authored
Merge pull request #90 from layer5io/leecalcote/ci/build-release-fix
2 parents e1732c1 + 02312c4 commit 0086aca

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build-and-release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626

2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030
with:
3131
ref: 'master'
3232

3333
- name: Setup Hugo (Extended)
34-
uses: peaceiris/actions-hugo@v2
34+
uses: peaceiris/actions-hugo@v3
3535
with:
3636
hugo-version: '0.147.9'
3737
extended: true
@@ -82,7 +82,7 @@ jobs:
8282
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
8383

8484
- name: Checkout meshery-cloud repo
85-
uses: actions/checkout@v4
85+
uses: actions/checkout@v5
8686
with:
8787
repository: layer5io/meshery-cloud
8888
token: ${{ secrets.GH_ACCESS_TOKEN }}
@@ -98,13 +98,13 @@ jobs:
9898
- name: Commit & push academy to meshery-cloud
9999
uses: stefanzweifel/git-auto-commit-action@v5
100100
with:
101-
commit_message: "Update academy content from orgId: ${{ github.event.inputs.orgId || 'manual' }} [CI]"
101+
commit_message: "[Academy] Content upddate for orgId: ${{ github.event.inputs.orgId || 'manual' }}"
102102
commit_options: '--signoff'
103103
repository: meshery-cloud
104-
branch: master
104+
branch: academy/content-update
105105
file_pattern: academy
106-
commit_user_name: GitHub Actions
107-
commit_user_email: [email protected]
106+
commit_user_name: l5io
107+
commit_user_email: [email protected]
108108
env:
109109
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
110110

@@ -115,10 +115,10 @@ jobs:
115115
with:
116116
token: ${{ secrets.GH_ACCESS_TOKEN }}
117117
path: meshery-cloud
118-
commit-message: "Add ${{ env.ACADEMY_NAME }} release v${{ github.event.inputs.version || 'latest' }}: ${{ env.NOTES }} [CI]"
118+
commit-message: "[Academy] ${{ env.ACADEMY_NAME }} ${{ github.event.inputs.version || 'latest' }}: ${{ env.NOTES }}"
119119
title: "${{ env.ACADEMY_NAME }} v${{ github.event.inputs.version || 'latest' }}: ${{ env.NOTES }}"
120-
body: "Automated PR for ${{ env.ACADEMY_NAME }} release v${{ github.event.inputs.version || 'latest' }} from academy-build. OrgId: ${{ github.event.inputs.orgId || 'manual' }}."
121-
branch: academy-release-v${{ github.event.inputs.version || 'latest' }}
120+
body: "Automated PR for ${{ env.ACADEMY_NAME }} ${{ github.event.inputs.version || 'latest' }} for organization: ${{ github.event.inputs.orgId || 'manual' }}."
121+
branch: ${{ env.ACADEMY_NAME }}-${{ github.event.inputs.version || github.event.inputs.version }}
122122
labels: academy
123123

124124
- name: Auto-merge PR in meshery-cloud repo

0 commit comments

Comments
 (0)