Skip to content

Commit 60a1e90

Browse files
authored
Merge pull request #58 from layer5io/revert-57-aabidsofi19-patch-1
Revert "Update build-and-release.yml"
2 parents 85d6a0a + c943919 commit 60a1e90

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

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

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,14 @@ on:
2121
- README.md
2222

2323
jobs:
24-
25-
short-circuit:
26-
runs-on: ubuntu-latest
27-
outputs:
28-
should_skip: ${{ steps.check.outputs.should_skip }}
29-
steps:
30-
- name: Check if workflow should be skipped
31-
id: check
32-
run: |
33-
echo "Commit message: ${{ github.event.head_commit.message }}"
34-
echo "Actor: ${{ github.actor }}"
35-
36-
# Check for [skip ci] in commit message or actor
37-
if [[ "${{ github.actor }}" == "auto-pusher" ]] || [[ "${{ github.event.head_commit.message }}" == *"[skip ci]"* ]]; then
38-
echo "should_skip=true" >> $GITHUB_OUTPUT
39-
else
40-
echo "should_skip=false" >> $GITHUB_OUTPUT
41-
fi
42-
4324
build-artifacts:
4425
runs-on: ubuntu-22.04
45-
if: needs.short-circuit.outputs.should_skip == 'false'
4626

4727
steps:
4828
- name: Checkout
4929
uses: actions/checkout@v4
5030
with:
5131
ref: 'master'
52-
token: ${{ secrets.GH_ACCESS_TOKEN }}
5332

5433
- name: Setup Hugo (Extended)
5534
uses: peaceiris/actions-hugo@v2
@@ -83,7 +62,7 @@ jobs:
8362

8463
- uses: stefanzweifel/git-auto-commit-action@v5
8564
with:
86-
commit_message: "Build Academy [skip ci]"
65+
commit_message: Build Academy
8766
commit_options: '--signoff'
8867
branch: master
8968
commit_user_name: l5io

0 commit comments

Comments
 (0)