Import from Medium #366
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
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
name: Import from Medium | |
jobs: | |
import-from-medium: | |
name: Import from Medium | |
env: | |
POSTGRES_URL: ${{ secrets.POSTGRES_URL }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: yarn | |
- run: yarn | |
- run: yarn node .github/workflows/import-from-medium.mjs |