Merge pull request #24 from Gachon-Univ-Creative-Code-Innovation/feat… #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: FastAPI Deploy | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| deploy: | |
| uses: Gachon-Univ-Creative-Code-Innovation/infra-configs/.github/workflows/fastapi-deploy.yml@main | |
| with: | |
| service: github-service # Docker 이미지 이름 | |
| tag: ${{ github.sha }} # 커밋 해시를 태그로 사용 | |
| secrets: | |
| GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }} | |
| DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
| DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
| SUPABASE_URL: ${{ secrets.SUPABASE_URL }} | |
| SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }} | |
| SUPABASE_BUCKET: ${{ secrets.SUPABASE_BUCKET }} | |
| GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }} | |
| GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} | |
| JWT_SECRET: ${{ secrets.JWT_SECRET }} |