generated from gayanvoice/github-profile-views-counter
-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (42 loc) · 1.1 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Sabyasachi's Automated Workflow
on:
# push:
# branch: [ master ]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
release:
name: Profile Views Continuous Integration
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
token: ${{ secrets.INSIGHTS_TOKEN }}
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Update Node
uses: actions/[email protected]
with:
node-version: 14.17.0
- name: Install Requests
run: |
pip install requests
- name: Setting Up GitPush
run: |
git config user.email "[email protected]"
git config user.name "Sabyasachi Seal"
env:
key: ${{ secrets.key }}
- name: Update Repolist
run: |
python repolist.py
env:
key: ${{ secrets.key }}
- name: Run the Counter
uses: Sabyasachi-Seal/ViewsCounterAction@StableV6
env:
INSIGHTS_TOKEN: ${{ secrets.INSIGHTS_TOKEN }}