GitHub Profile Views Counter CI #1441
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Profile Views Counter CI | |
on: | |
schedule: | |
- cron: '0 */24 * * *' | |
workflow_dispatch: | |
jobs: | |
release: | |
name: GitHub Profile Views Counter Action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
token: ${{ secrets.INSIGHTS_TOKEN }} | |
- uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- uses: formidablae/[email protected] | |
env: | |
INSIGHTS_TOKEN: ${{ secrets.INSIGHTS_TOKEN }} | |
# - name: Commit & Push | |
# run: | | |
# git config user.name "View Counter" | |
# git config --global user.email "[email protected]" | |
# git add -A . | |
# git commit -m "Add view Counter" | |
# git push |