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"
|
REPO="root/resilient"
|
||||||
|
|
||||||
# Create release
|
# 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 "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{
|
-d "{
|
||||||
|
@ -228,10 +228,13 @@ jobs:
|
||||||
echo "Created release ID: $RELEASE_ID"
|
echo "Created release ID: $RELEASE_ID"
|
||||||
|
|
||||||
# Upload artifact
|
# 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 "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||||
-H "Content-Type: application/java-archive" \
|
-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>
|
<groupId>com.oguerreiro.resilient</groupId>
|
||||||
<artifactId>resilient</artifactId>
|
<artifactId>resilient</artifactId>
|
||||||
<version>1.0.6-SNAPSHOT</version>
|
<version>1.0.8-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>Resilient</name>
|
<name>Resilient</name>
|
||||||
<description>Description for Resilient</description>
|
<description>Description for Resilient</description>
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
<!-- TOP BANNER -->
|
<!-- TOP BANNER -->
|
||||||
<section>
|
<section>
|
||||||
<div class="container-fluid mb-5 p-0">
|
<div class="container-fluid mb-5 p-0 position-relative">
|
||||||
<img id="home-header" src="content/images/home_banner.jpg" class="img-fluid" alt="Route Zero">
|
<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>
|
</div>
|
||||||
</section>
|
</section>
|
Loading…
Add table
Add a link
Reference in a new issue