Skip to content

Commit

Permalink
Update main.yml point#1
Browse files Browse the repository at this point in the history
  • Loading branch information
dcrendon authored Dec 20, 2023
1 parent 9a310eb commit 6f8ae7a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Run Release Tracker
on:
push:
branches:
- actions-test
- gh-pages

jobs:
run-script:
Expand All @@ -15,14 +15,15 @@ jobs:

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


- name: Run Bash Script
env:
COMMIT_MESSAGE: ${{ steps.commit-message.outputs.message }}
REPO_NAME: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
echo "$COMMIT_MESSAGE in script"
# run: |
# chmod +x ./path/to/your-script.sh
# ./path/to/your-script.sh "$COMMIT_MESSAGE"
echo "Current commit message: $COMMIT_MESSAGE"
echo "Repo Name: $REPO_NAME"
chmod +x ./release-tracker-github.sh
./release-tracker-github.sh

0 comments on commit 6f8ae7a

Please sign in to comment.