Commit 1a130cf 1 parent e0f2c3b commit 1a130cf Copy full SHA for 1a130cf
File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 60
60
echo "apple.client.secret=${{ secrets.APPLE_CLIENT_SECRET }}" >> ontime-back/src/main/resources/application.properties
61
61
echo "apple.login.key=${{ secrets.APPLE_LOGIN_KEY }}" >> ontime-back/src/main/resources/application.properties
62
62
echo "apple.team.id=${{ secrets.APPLE_TEAM_ID }}" >> ontime-back/src/main/resources/application.properties
63
+ echo "spring.flyway.enabled=true" >> ontime-back/src/main/resources/application.properties
64
+ echo "spring.flyway.url=${{ secrets.SPRING_FLYWAY_URL }}" >> ontime-back/src/main/resources/application.properties
65
+ echo "spring.flyway.user=${{ secrets.SPRING_FLYWAY_USER }}" >> ontime-back/src/main/resources/application.properties
66
+ echo "spring.flyway.password=${{ secrets.SPRING_FLYWAY_PASSWORD }}" >> ontime-back/src/main/resources/application.properties
63
67
echo "management.endpoints.web.exposure.include=health" >> ontime-back/src/main/resources/application.properties
64
68
echo "management.endpoint.health.show-details=always" >> ontime-back/src/main/resources/application.properties
65
69
echo "${{ secrets.ONTIME_PUSH_FIREBASE_ADMINSDK }}" > ontime-back/src/main/resources/ontime-push-firebase-adminsdk-gnpxs-7d098872ff.json
@@ -145,6 +149,9 @@ jobs:
145
149
APPLE_CLIENT_SECRET=${{ secrets.APPLE_CLIENT_SECRET }}
146
150
APPLE_LOGIN_KEY=${{ secrets.APPLE_LOGIN_KEY }}
147
151
APPLE_TEAM_ID=${{ secrets.APPLE_TEAM_ID }}
152
+ SPRING_FLYWAY_URL=${{ secrets.SPRING_FLYWAY_URL }}
153
+ SPRING_FLYWAY_USER=${{ secrets.SPRING_FLYWAY_USER }}
154
+ SPRING_FLYWAY_PASSWORD=${{ secrets.SPRING_FLYWAY_PASSWORD }}
148
155
EOT'
149
156
150
157
sudo mv /home/ubuntu/OnTime-back/ontime-push-firebase-adminsdk-gnpxs-7d098872ff.json /home/ubuntu/OnTime-back/ontime-back/src/main/resources/ontime-push-firebase-adminsdk-gnpxs-7d098872ff.json
You can’t perform that action at this time.
0 commit comments