Fetch MANGA Plus ranking #818
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: "Fetch MANGA Plus ranking" | |
on: | |
schedule: | |
- cron: "30 15 * * *" | |
workflow_dispatch: | |
jobs: | |
fetch-today-ranking: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ssh-key: ${{ secrets.DEPLOY_KEY }} | |
persist-credentials: true | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- run: yarn install | |
- name: Fetch data | |
run: make today | |
- uses: zwaldowski/git-commit-action@v1 | |
- uses: ad-m/github-push-action@master | |
with: | |
ssh: true | |
branch: ${{ github.ref }} |