This file contains 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: hyperfiddle/electric-examples-app | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
deploy: | |
name: Deploy to Fly.io | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- run: NO_COLOR=1 flyctl deploy --build-arg VERSION=$(git describe --tags --long --always --dirty) --build-arg DATOMIC_DEV_LOCAL_USER=$DATOMIC_DEV_LOCAL_USER --build-arg DATOMIC_DEV_LOCAL_PASSWORD=$DATOMIC_DEV_LOCAL_PASSWORD --build-arg hfql_ssh_prv_key="$HFQL_SSH_PRV_KEY" --remote-only | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
DATOMIC_DEV_LOCAL_USER: ${{ secrets.DATOMIC_DEV_LOCAL_USER }} | |
DATOMIC_DEV_LOCAL_PASSWORD: ${{ secrets.DATOMIC_DEV_LOCAL_PASSWORD }} | |
HFQL_SSH_PRV_KEY: ${{ secrets.HFQL_SSH_PRV_KEY }} |