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 Oct 4, 2024
1 parent bfad33a commit 5f8662b
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-12447-blue)
![Visits](https://img.shields.io/badge/Visits-12448-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-12447-blue)
![Visits](https://img.shields.io/badge/Visits-12448-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-12447-blue)"
badge="![Visits](https://img.shields.io/badge/Visits-12448-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-12447-blue)
![Visits](https://img.shields.io/badge/Visits-12448-blue)

## Congratulations! 🎉

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

0 comments on commit 5f8662b

Please sign in to comment.