Update deplay.yml

This commit is contained in:
禾几海
2020-08-01 21:46:17 +08:00
committed by GitHub
parent b6c6cda4ae
commit 4a65df2a7d

View File

@@ -1,7 +1,7 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created # 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 # For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
name: Deplay name: Build
on: on:
push: push:
@@ -24,7 +24,7 @@ jobs:
java-version: 1.8 java-version: 1.8
- name: Build jar file - name: Build jar file
run: 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 -DskipTests --file pom.xml
- name: SCP - name: SCP
uses: appleboy/scp-action@master uses: appleboy/scp-action@master