Hi
I’m building an Elixir application in a github action. It has worked for a while, but after adding a github repo as a dependency it suddenly fails. This is my github action config:
name: Fly Deploy
on: [push]
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
And this is the line that’s failing in the remote fly build:
#15 [builder 6/18] RUN mix deps.get --only prod
#15 1.269 * Getting req (https://github.com/Doerge/req.git)
#15 131.6 fatal: unable to access 'https://github.com/Doerge/req.git/': Failed to connect to github.com port 443: Connection timed out
My mix.exs
has this line:
{:req, git: "https://github.com/Doerge/req"}
It works locally
Do I need to add any special flags or settings for Fly to allow remote git repo deps?