Skip to content

Commit 6f8ae7a

Browse files
authored
Update main.yml point#1
1 parent 9a310eb commit 6f8ae7a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Run Release Tracker
33
on:
44
push:
55
branches:
6-
- actions-test
6+
- gh-pages
77

88
jobs:
99
run-script:
@@ -15,14 +15,15 @@ jobs:
1515

1616
- name: Get Commit Message
1717
id: commit-message
18-
run: echo "{commit-message}={$(git log -1 --pretty=%B)}" >> $GITHUB_OUTPUT
18+
run: echo "message=$(git log -1 --pretty=%B)" >> $GITHUB_OUTPUT
1919

20-
2120
- name: Run Bash Script
2221
env:
2322
COMMIT_MESSAGE: ${{ steps.commit-message.outputs.message }}
23+
REPO_NAME: ${{ github.repository }}
24+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
2425
run: |
25-
echo "$COMMIT_MESSAGE in script"
26-
# run: |
27-
# chmod +x ./path/to/your-script.sh
28-
# ./path/to/your-script.sh "$COMMIT_MESSAGE"
26+
echo "Current commit message: $COMMIT_MESSAGE"
27+
echo "Repo Name: $REPO_NAME"
28+
chmod +x ./release-tracker-github.sh
29+
./release-tracker-github.sh

0 commit comments

Comments
 (0)