mirror of
https://github.com/jlengrand/cellar.git
synced 2026-03-10 08:01:19 +00:00
Gogo deploy
This commit is contained in:
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@@ -18,15 +18,11 @@ jobs:
|
||||
servers: '[{"id": "github", "username": "jlengrand", "password": "${GITHUB_TOKEN}"}]'
|
||||
repositories: '[{ "id": "central", "url": "https://repo1.maven.org/maven2" }, { "id": "github", "url": "https://maven.pkg.github.com/jlengrand/cellar-driver" }]'
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
run: mvn -B deploy #mvn -B package --file pom.xml
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: mkdir staging && cp cellar-app/target/*-with-dependencies.jar staging
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Package
|
||||
path: staging
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: Package
|
||||
path: staging
|
||||
Reference in New Issue
Block a user