Skip to content

Commit

Permalink
added automation to activate accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
hozzjss committed Sep 21, 2021
1 parent 999b6ae commit e75cb1a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/activate-accounts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Activate SC accounts
on:
schedule:
- cron: 0 2,8,14,20 * * *
workflow_dispatch:
jobs:
update_data:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max_old_space_size=7168
steps:
- uses: actions/checkout@v2

- name: Install Packages 🔧
run: npm install

- name: Update Data 🆕
run: npm start
env:
REPO_AND_BRANCH: ${{ secrets.REPO_AND_BRANCH }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}

0 comments on commit e75cb1a

Please sign in to comment.