fix: use lenses2 binary instead of study #13
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 to Fly.io | |
| on: | |
| # Deploy on push to main branch | |
| push: | |
| branches: [main] | |
| # Deploy on tagged releases | |
| tags: | |
| - 'v*' | |
| # Allow manual deployment | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| name: Deploy to Fly.io | |
| runs-on: ubuntu-latest | |
| # Only deploy from main repository (not forks) | |
| if: github.repository == 'DeNepo/welcome-to-js' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Fly CLI | |
| uses: superfly/flyctl-actions/setup-flyctl@master | |
| - name: Deploy to Fly.io | |
| run: flyctl deploy --remote-only | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |