diff --git a/.github/workflows/mavenpublish.yml b/.github/workflows/deplay.yml similarity index 83% rename from .github/workflows/mavenpublish.yml rename to .github/workflows/deplay.yml index 94a0f0e..c1e786f 100644 --- a/.github/workflows/mavenpublish.yml +++ b/.github/workflows/deplay.yml @@ -1,7 +1,7 @@ # This workflow will build a package using Maven and then publish it to GitHub packages when a release is created # For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path -name: Blog backEnd CI +name: Deplay on: push: @@ -24,7 +24,7 @@ jobs: java-version: 1.8 - name: Build jar file - run: echo $APPLICATION_PROPERTIES_TEST|base64 -d > src/main/resources/application-test.properties && echo $APPLICATION_PROPERTIES_PROD|base64 -d> src/main/resources/application-prod.properties && mvn -B package --file pom.xml + run: echo $APPLICATION_PROPERTIES_PROD|base64 -d> src/main/resources/application-prod.properties && mvn -B package --file pom.xml - name: SCP uses: appleboy/scp-action@master diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf3b88e..5ff9e4b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ # This workflow will build a package using Maven and then publish it to GitHub packages when a release is created # For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path -name: Blog backEnd CI +name: pr Test on: push: @@ -23,7 +23,7 @@ jobs: with: java-version: 1.8 - - name: Build jar file + - name: Test run: echo $APPLICATION_PROPERTIES_TEST|base64 -d > src/main/resources/application-test.properties && mvn -B test --file pom.xml