deploy-shot-elixir
Deploy the shot-elixir Elixir/Phoenix application to Fly.io. Use this skill when deploying backend changes, updating environment variables, or releasing new versions to production.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Deploy shot-elixir to Fly.io
Instructions
- Navigate to the shot-elixir directory
- Verify all changes are committed to git
- Check that tests are passing (optional but recommended)
- Execute the deployment using
fly deploy - Monitor the deployment logs for errors
- Verify the application is running on https://shot-elixir.fly.dev/
- Test critical API endpoints after deployment
Deployment Steps
# Navigate to shot-elixir
cd /Users/isaacpriestley/tech/isaacpriestley/chi-war/shot-elixir
# Verify git status
git status
# Deploy to Fly.io
fly deploy
# Monitor deployment
fly logs
# Verify health
curl https://shot-elixir.fly.dev/api/v2/health
Examples
- User: "Deploy the latest changes to shot-elixir"
- User: "Release shot-elixir to production"
- User: "Push the backend changes to Fly.io"
- User: "Deploy elixir"
- User: "Update the production backend"
Guidelines
- Always verify commits before deploying
- Check that environment variables are properly set on Fly.io
- Monitor deployment logs for errors
- Test critical endpoints after deployment (auth, campaigns, characters)
- Update documentation if configuration changes
- Deployment typically takes 2-3 minutes
Post-Deployment Checks
- Test user authentication
- Verify WebSocket connections work
- Check database migrations applied successfully
- Test AI image generation endpoints
- Verify ActionCable/Phoenix Channels connectivity
Troubleshooting
If deployment fails:
- Check
fly logsfor error messages - Verify database connection with
fly ssh console - Check environment variables with
fly secrets list - Review recent git commits for breaking changes
- Rollback if needed:
fly releases rollback
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!