diff --git a/.github/workflows/fly-deploy.yml b/.github/workflows/fly-deploy.yml index d2cb18316..18f396b07 100644 --- a/.github/workflows/fly-deploy.yml +++ b/.github/workflows/fly-deploy.yml @@ -23,11 +23,10 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Deploy to fly.io uses: superfly/flyctl-actions/setup-flyctl@master - # Bind the Docker socket for "Docker in Docker" as per: https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ - run: | docker container run --rm -t -v "${{ github.workspace }}":/app -v go-modules:/go/pkg/mod ghcr.io/starfederation/datastar-dev -c 'git lfs fetch --all && git lfs pull && git lfs checkout' docker container run --rm -t -v "${{ github.workspace }}":/app -v go-modules:/go/pkg/mod ghcr.io/starfederation/datastar-dev -c 'task tools' - docker container run --rm -t -v "${{ github.workspace }}":/app -v go-modules:/go/pkg/mod -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/starfederation/datastar-dev -c 'task support' + docker container run --rm -t -v "${{ github.workspace }}":/app -v go-modules:/go/pkg/mod ghcr.io/starfederation/datastar-dev -c 'task support' flyctl deploy --local-only env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}