Skip to content

fix : Location 정상화 테스트2 #14

fix : Location 정상화 테스트2

fix : Location 정상화 테스트2 #14

Workflow file for this run

name: Fly Deploy Lcode
on:
push:
paths:
- settings.gradle
- build.gradle
- src/**
- fly.toml
- Dockerfile
- .github/workflows/deploy.yml
branches:
- main
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: yml 파일 생성
env:
APPLICATION_YML: ${{ secrets.APPLICATION_YML }}
APPLICATION_DB: ${{ secrets.APPLICATION_DB_YML }}
APPLICATION_BATCH: ${{ secrets.APPLICATION_BATCH_YML }}
APPLICATION_COOKIE: ${{ secrets.APPLICATION_COOKIE_YML }}
APPLICATION_OPENAPI: ${{ secrets.APPLICATION_OPENAPI_YML }}
APPLICATION_FILE: ${{ secrets.APPLICATION_FILE_YML }}
APPLICATION_SECURITY: ${{ secrets.APPLICATION_SECURITY_YML }}
run: |
echo "$APPLICATION_YML" > src/main/resources/application.yml
echo "$APPLICATION_DB" > src/main/resources/application-db.yml
echo "$APPLICATION_BATCH" > src/main/resources/application-batch.yml
echo "$APPLICATION_COOKIE" > src/main/resources/application-cookie.yml
echo "$APPLICATION_OPENAPI" > src/main/resources/application-openapi.yml
echo "$APPLICATION_FILE" > src/main/resources/application-file.yml
echo "$APPLICATION_SECURITY" > src/main/resources/application-security.yml
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}