mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 19:58:08 +08:00
47 lines
1.8 KiB
YAML
47 lines
1.8 KiB
YAML
name: Fly Deploy Direct
|
|
on:
|
|
schedule:
|
|
- cron: '0 */2 * * *'
|
|
|
|
env:
|
|
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
BULL_AUTH_KEY: ${{ secrets.BULL_AUTH_KEY }}
|
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
|
HOST: ${{ secrets.HOST }}
|
|
LLAMAPARSE_API_KEY: ${{ secrets.LLAMAPARSE_API_KEY }}
|
|
LOGTAIL_KEY: ${{ secrets.LOGTAIL_KEY }}
|
|
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
|
|
POSTHOG_HOST: ${{ secrets.POSTHOG_HOST }}
|
|
NUM_WORKERS_PER_QUEUE: ${{ secrets.NUM_WORKERS_PER_QUEUE }}
|
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
PLAYWRIGHT_MICROSERVICE_URL: ${{ secrets.PLAYWRIGHT_MICROSERVICE_URL }}
|
|
PORT: ${{ secrets.PORT }}
|
|
REDIS_URL: ${{ secrets.REDIS_URL }}
|
|
SCRAPING_BEE_API_KEY: ${{ secrets.SCRAPING_BEE_API_KEY }}
|
|
SUPABASE_ANON_TOKEN: ${{ secrets.SUPABASE_ANON_TOKEN }}
|
|
SUPABASE_SERVICE_TOKEN: ${{ secrets.SUPABASE_SERVICE_TOKEN }}
|
|
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
|
|
TEST_API_KEY: ${{ secrets.TEST_API_KEY }}
|
|
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
|
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
USE_DB_AUTHENTICATION: ${{ secrets.USE_DB_AUTHENTICATION }}
|
|
ENV: ${{ secrets.ENV }}
|
|
|
|
jobs:
|
|
deploy:
|
|
name: Deploy app
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: superfly/flyctl-actions/setup-flyctl@master
|
|
- run: flyctl deploy --remote-only -a firecrawl-scraper-js --build-secret SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN
|
|
working-directory: ./apps/api
|
|
env:
|
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
|
BULL_AUTH_KEY: ${{ secrets.BULL_AUTH_KEY }}
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|