diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b05d6cf..8b77ae0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,6 +18,9 @@ jobs: java-version: '17' distribution: 'temurin' + - name: Create Firebase JSON file + run: echo "$JIKGONG_FIREBASE" > resources/firebase/jikgong-firebase.json + - name: Run chmod to make graldew executable run: chmod +x ./gradlew @@ -26,9 +29,6 @@ jobs: with: arguments: clean bootJar -Pspring.profiles.active=prod - - name: Create Firebase JSON file - run: echo "$JIKGONG_FIREBASE" > resources/firebase/jikgong-firebase.json - - name: docker image build run: docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/jikgong .