migrate node_module resolution to s3 bucket from docker local fs #1
This file contains hidden or 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: Deploy Server to Fly.io | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'server/**' | |
- 'internal/**' | |
- 'go.mod' | |
- 'go.sum' | |
- '.github/workflows/deploy-server.yml' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Fly CLI | |
uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: Deploy to Fly.io | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
run: | | |
cd server | |
flyctl deploy --remote-only \ | |
--config fly.toml \ | |
--dockerfile Dockerfile \ | |
--build-arg BUILDKIT_INLINE_CACHE=1 |