feat(AnimeDrive): add presence (#8329) #835
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: CD | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**.ts" | |
- "**.json" | |
jobs: | |
update: | |
if: github.repository_owner == 'PreMiD' | |
name: Update Presences | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js 16 | |
uses: actions/[email protected] | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install dependencies | |
run: HUSKY=0 npm ci | |
- name: Update Presences | |
env: | |
MONGO_URL: ${{ secrets.MONGO_URL }} | |
run: npm run presenceUpdater push |