Skip to content

Merge pull request #36 from go-bazzinga/rupansh/infinite-scroll-fixes #22

Merge pull request #36 from go-bazzinga/rupansh/infinite-scroll-fixes

Merge pull request #36 from go-bazzinga/rupansh/infinite-scroll-fixes #22

name: Deploy to Fly on push to main
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build_check:
uses: ./.github/workflows/build-check.yml
with:
publish-artifact: true
deploy:
name: Deploy
needs: build_check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download build
uses: actions/download-artifact@v3
with:
name: build-musl
- run: chmod +x target/x86_64-unknown-linux-musl/release/hot-or-not-web-leptos-ssr
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy a docker container to Fly.io
run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}