Skip to content

Create release-tracker-github.sh point#2 #17

Create release-tracker-github.sh point#2

Create release-tracker-github.sh point#2 #17

Workflow file for this run

name: Run Release Tracker
on:
push:
branches:
- gh-pages
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Get Commit Message
id: commit-message
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 "Current commit message: $COMMIT_MESSAGE"
echo "Repo Name: $REPO_NAME"
chmod +x ./release-tracker-github.sh
./release-tracker-github.sh