Skip to content

Commit

Permalink
Update visits count
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 23, 2024
1 parent 96d3481 commit 4e2a124
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Visitor Badge Installation Guide 🚀

![Visits](https://img.shields.io/badge/Visits-16394-blue)
![Visits](https://img.shields.io/badge/Visits-16395-blue)

Welcome to the `visitor-badge` repository by [Arman Kianian](https://github.com/Armanx200)! This guide will help you set up and use the visitor badge to track visits to your GitHub repository. Let's get started! 🎉

Expand Down Expand Up @@ -40,7 +40,7 @@ echo "0" > visits.txt
Update your `README.md` file to include the visit badge. Add the following line where you want the badge to appear:

```markdown
![Visits](https://img.shields.io/badge/Visits-16394-blue)
![Visits](https://img.shields.io/badge/Visits-16395-blue)
```

### 5. Set Up GitHub Actions ⚙️
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Update README.md
run: |
visits=${{ steps.increment.outputs.visits }}
badge="![Visits](https://img.shields.io/badge/Visits-16394-blue)"
badge="![Visits](https://img.shields.io/badge/Visits-16395-blue)"
sed -i 's|!\[Visits\](https://img.shields.io/badge/Visits-.*-blue)|'"$badge"'|' README.md
- name: Commit changes
Expand All @@ -103,7 +103,7 @@ git push origin main

Once everything is set up, your visit count will be updated automatically every 15 minutes. You can view the visit badge in your `README.md`:

![Visits](https://img.shields.io/badge/Visits-16394-blue)
![Visits](https://img.shields.io/badge/Visits-16395-blue)

## Congratulations! 🎉

Expand Down
2 changes: 1 addition & 1 deletion visits.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16394
16395

0 comments on commit 4e2a124

Please sign in to comment.