Skip to content

Regional prices (#22) #4

Regional prices (#22)

Regional prices (#22) #4

Workflow file for this run

name: Deploy to Fly IO
on:
push:
branches: [main]
workflow_dispatch:
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
permissions:
contents: read
pages: write
id-token: write
jobs:
unit-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm ci
- run: npm test
integration-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: ./test.sh
deploy:
runs-on: ubuntu-22.04
needs: [unit-tests, integration-tests]
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --image-label ${{ github.ref_name }}