Skip to content

Commit 5239fd8

Browse files
author
Matt
committed
adding deploy action for release branches
1 parent 31b3149 commit 5239fd8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish to GitHub Packages on Release Branch
2+
3+
on:
4+
workflow_run:
5+
workflow: "Java Leaflet Build"
6+
type: completed
7+
branches:
8+
- 'releases/**'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- uses: actions/setup-java@v1
17+
with:
18+
java-version: 1.8
19+
20+
- name: Deploy to GitHub Packages
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.DEPLOY_PACKAGE_TOKEN }}
23+
run: mvn deploy

0 commit comments

Comments
 (0)