mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
22 lines
466 B
YAML
22 lines
466 B
YAML
name: Fly Deploy
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
# schedule:
|
|
# - cron: '0 */4 * * *'
|
|
|
|
jobs:
|
|
deploy:
|
|
name: Deploy app
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Change directory
|
|
run: cd apps/api
|
|
- uses: superfly/flyctl-actions/setup-flyctl@master
|
|
- run: flyctl deploy ./apps/api --remote-only -a firecrawl-scraper-js
|
|
env:
|
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
|
|