Authenticate in GitHub Actions
To add the EZSuite repo in your GitHub Action, add the following step before you run mix deps.get
:
- name: Add EZSuite Repo
run: |
mix hex.repo add ezsuite https://ezsuite.dev/repo \
--auth-key ${{ secrets.EZSUITE_AUTH_KEY }} \
--fetch-public-key SHA256:5WqcbEXE2PRHFpPrlJeaCCS1mAokfq6Bf/rdKzukVQ4
Then, add the EZSUITE_AUTH_KEY
secret to your GitHub repo and you're good to go!
If you want to deploy to Fly.io from an GitHub Action, read the Deploy to Fly.io guide next.