Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
b3e7810b5e | |||
|
c4ac52c535 | ||
6cfcec5168 | |||
cd7aa81a8a | |||
ed76ddb28d | |||
|
26f007fee5 |
3 changed files with 13 additions and 6 deletions
|
@ -214,7 +214,7 @@ jobs:
|
|||
REPO="root/resilient"
|
||||
|
||||
# Create release
|
||||
RESPONSE=$(curl -s -X POST "$API/repos/$REPO/releases" \
|
||||
RESPONSE=$(curl -X POST "$API/repos/$REPO/releases" \
|
||||
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{
|
||||
|
@ -228,10 +228,13 @@ jobs:
|
|||
echo "Created release ID: $RELEASE_ID"
|
||||
|
||||
# Upload artifact
|
||||
curl -s -X POST "$API/repos/$REPO/releases/$RELEASE_ID/assets?name=resilient.jar" \
|
||||
# NOTE: For safety, the artifact to upload is expected to be the EXACT $VERSION of this branch. If not, something is wrong.
|
||||
JAR_FILE=$(ls target/resilient-$VERSION.jar | head -n 1)
|
||||
echo "Attaching file : $JAR_FILE"
|
||||
curl -X POST "$API/repos/$REPO/releases/$RELEASE_ID/assets?name=resilient-$VERSION.jar" \
|
||||
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||
-H "Content-Type: application/java-archive" \
|
||||
--data-binary @"target/resilient*.jar"
|
||||
--data-binary @"$JAR_FILE"
|
||||
|
||||
|
||||
# ##################################################################
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
|||
|
||||
<groupId>com.oguerreiro.resilient</groupId>
|
||||
<artifactId>resilient</artifactId>
|
||||
<version>1.0.6</version>
|
||||
<version>1.0.8-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>Resilient</name>
|
||||
<description>Description for Resilient</description>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<!-- TOP BANNER -->
|
||||
<section>
|
||||
<div class="container-fluid mb-5 p-0">
|
||||
<img id="home-header" src="content/images/home_banner.jpg" class="img-fluid" alt="Route Zero">
|
||||
<div class="container-fluid mb-5 p-0 position-relative">
|
||||
<img id="home-header" src="content/images/home_banner.jpg" alt="Route Zero" class="img-fluid w-100">
|
||||
|
||||
<span class="position-absolute bottom-0 start-0 text-white p-3 fs-4 title">
|
||||
InNOVA NOVA Information System on Environment and Sustainability
|
||||
</span>
|
||||
</div>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue