Skip to content

Commit

Permalink
Update github action pipeline doc
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodify authored Nov 12, 2023
1 parent 9e06b69 commit 9cd8524
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2

- name: Set up Git Insight

- name: Download and run GitInsight
run: |
git clone https://github.com/awcodify/gitinsights.git $HOME/gitinsights
go run $HOME/gitinsights/main.go
wget https://github.com/awcodify/GitInsights/releases/download/v0.1.0/GitInsights -O GitInsights
chmod +x GitInsights
./GitInsights
# Commit and push changes
git config --local user.email "awcodify@gmail.com"
git config --local user.name "awcodify"
git add .
git commit -m "Update README.md from GitInsights"
git push
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

```
Ensure you have added the GH_TOKEN secret with the necessary permissions.

Expand Down

0 comments on commit 9cd8524

Please sign in to comment.