chore: dao duc 1 #323
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: Automatic Deployment | |
| on: | |
| push: | |
| branches: master | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| - name: Deploy to fly.io | |
| run: | | |
| flyctl deploy \ | |
| --build-secret NEXT_PUBLIC_HOST=${{ vars.NEXT_PUBLIC_HOST }} \ | |
| --remote-only | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |