-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Removed '-' from workflow filename - Build & release backend in separate workflow triggered by tag
- Loading branch information
Showing
3 changed files
with
27 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Release backend from the latest successful build action into a certain release | ||
name: Release backend api and borehole db | ||
|
||
on: | ||
push: | ||
tags: | ||
- "PORTAL_RELEASE_*" | ||
|
||
jobs: | ||
do-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download artifacts | ||
uses: dawidd6/action-download-artifact@v6 | ||
with: | ||
workflow: build_backend.yml | ||
workflow_conclusion: success | ||
branch: master | ||
- name: Add to release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
name: Source and web asset release based on tag ${{github.ref}} | ||
files: | | ||
api.tar.gz | ||
boreholes.tar.gz | ||
fail_on_unmatched_files: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters