Skip to content

twoot on a schedule #9580

twoot on a schedule

twoot on a schedule #9580

Workflow file for this run

name: twoot on a schedule
on:
workflow_dispatch:
schedule:
- cron: "4 1,4,7,10,13,16,19,22 * * *"
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
- uses: pnpm/action-setup@ac5bf11548bf5e19b8aadb8182072616590fa4a6
with:
run_install: false
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # 4.1.0
with:
node-version-file: ".node-version"
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm start
env:
NODE_ENV: "production"
MASTODON_TOKEN: ${{ secrets.MASTODON_TOKEN }}
MASTODON_TOKEN_ORIG: ${{ secrets.MASTODON_TOKEN_ORIG }}
BSKY_USERNAME: ${{ secrets.BSKY_USERNAME }}
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
BSKY_USERNAME_ORIG: ${{ secrets.BSKY_USERNAME_ORIG }}
BSKY_PASSWORD_ORIG: ${{ secrets.BSKY_PASSWORD_ORIG }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}