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.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!