Update README with award information #41
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: Deploy EverTale_AI | |
| on: | |
| push: | |
| branches: [ develop ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. 코드 체크아웃 | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| # 2 .env 파일 생성 | |
| - name: Create .env file | |
| run: | | |
| echo "${{ secrets.FASTAPI_ENV }}" > .env | |
| shell: bash | |
| # 3. DockerHub 로그인 & 이미지 빌드/푸시 | |
| - name: Docker build & push | |
| run: | | |
| echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
| docker build -t ${{ secrets.DOCKER_REPO }}:latest . | |
| docker push ${{ secrets.DOCKER_REPO }}:latest | |
| # 4. Infra 워크플로 트리거 | |
| # - name: Trigger EverTale-infra workflow | |
| # uses: peter-evans/repository-dispatch@v3 | |
| # with: | |
| # token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
| # repository: DropThe8bit/EverTale-infra | |
| # event-type: trigger-from-ai |