From 6ee8fb65c3da0a1f1e41404db831a24310a976a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BE=E5=87=A0=E6=B5=B7?= Date: Sat, 11 Jul 2020 10:52:13 +0800 Subject: [PATCH] ci --- .github/workflows/{mavenpublish.yml => deplay.yml} | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{mavenpublish.yml => deplay.yml} (83%) 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