Sabyasachi's Automated Workflow #1730
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: 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 }} |