Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (33 sloc) 1.01 KB
name: "Recent Activity Updater Bot"
on:
push:
branches:
- master
schedule:
- cron: "0 0/6 * * *" # Every two hours
jobs:
bot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: "Install Node"
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: "Install NPM dependancies"
run: npm install
- name: "Run code"
run: node index.js
env:
CI: true
GIST_ID: ${{ secrets.GIST_ID }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }}
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }}
LASTFM_KEY: ${{ secrets.LASTFM_KEY }}
LASTFM_USER: ${{ secrets.LASTFM_USER }}
WAKATIME_USER: ${{ secrets.WAKATIME_USER }}
WAKATIME_KEY: ${{ secrets.WAKATIME_KEY }}
TG_BOT_NAME: ${{ secrets.TG_BOT_NAME }}
TG_BOT_SECRET: ${{ secrets.TG_BOT_SECRET }}
NETLIFY_BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK }}
You can’t perform that action at this time.