diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 122eecfb..23489b5a 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -26,21 +26,24 @@ jobs: distribution: 'temurin' - name: Create application.properties from Secrets + working-directory: ./boomerang run: | echo "Current directory: $(pwd)" - mkdir -p boomerang/src/main/resources - echo "${{ secrets.APPLICATION }}" > ./boomerang/src/main/resources/application.properties - cat ./boomerang/src/main/resources/application.properties + mkdir -p src/main/resources + echo "${{ secrets.APPLICATION }}" > src/main/resources/application.properties + cat src/main/resources/application.properties - name: Grant execute permission for gradlew - run: chmod +x ./boomerang/gradlew + working-directory: ./boomerang + run: chmod +x ./gradlew - name: Build with Gradle - run: ./boomerang/gradlew build -x test working-directory: ./boomerang + run: ./gradlew build -x test - name: Make zip file - run: zip -r application.zip . + working-directory: ./boomerang + run: zip -r ../application.zip . - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1