Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,9 @@ jobs:
name: built-site
path: ./dist

- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v6

- name: Build war file
working-directory: ./deployment/payara
run: mvn package "-Dversion=${{ steps.branch-name.outputs.current_branch }}"
run: mvn package "-Dversion=${{ github.ref_name }}"

# For BETA environment
- name: Copy war file to remote BETA instance
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/generate-war.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,9 @@ jobs:
name: built-site
path: ./dist

- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v6

- name: Build war file
working-directory: ./deployment/payara
run: mvn package "-Dversion=${{ steps.branch-name.outputs.current_branch }}"
run: mvn package "-Dversion=${{ github.ref_name }}"

- uses: actions/upload-artifact@v4
with:
Expand Down
Loading