From c5ab270b35b96639a0eb590161197da3706c9249 Mon Sep 17 00:00:00 2001 From: Haider Iqbal Date: Wed, 3 Jul 2024 12:50:25 +0100 Subject: [PATCH] - Disable banner and update github workflow (#690) --- .github/workflows/docker.yml | 6 +++--- frontend/dist/banner.txt | 3 --- frontend/src/banner.txt | 3 --- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1e9afc194..c2a0403b8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -31,20 +31,20 @@ jobs: run: | cd dataload docker build -t ghcr.io/ebispot/ols4-dataload:${{ github.sha }} . - docker tag ghcr.io/ebispot/ols4-dataload:${{github.sha}} ghcr.io/ebispot/ols4-dataload:${{ github.head_ref }} + docker tag ghcr.io/ebispot/ols4-dataload:${{github.sha}} ghcr.io/ebispot/ols4-dataload:${{ github.head_ref || github.ref }} docker push --all-tags ghcr.io/ebispot/ols4-dataload - name: Build and push ols4 backend Docker image run: | cd backend docker build -t ghcr.io/ebispot/ols4-backend:${{ github.sha }} . - docker tag ghcr.io/ebispot/ols4-backend:${{github.sha}} ghcr.io/ebispot/ols4-backend:${{ github.head_ref }} + docker tag ghcr.io/ebispot/ols4-backend:${{github.sha}} ghcr.io/ebispot/ols4-backend:${{ github.head_ref || github.ref }} docker push --all-tags ghcr.io/ebispot/ols4-backend - name: Build and push ols4 frontend Docker image run: | cd frontend docker build -t ghcr.io/ebispot/ols4-frontend:${{ github.sha }} . - docker tag ghcr.io/ebispot/ols4-frontend:${{github.sha}} ghcr.io/ebispot/ols4-frontend:${{ github.head_ref }} + docker tag ghcr.io/ebispot/ols4-frontend:${{github.sha}} ghcr.io/ebispot/ols4-frontend:${{ github.head_ref || github.ref }} docker push --all-tags ghcr.io/ebispot/ols4-frontend diff --git a/frontend/dist/banner.txt b/frontend/dist/banner.txt index 62d4b5c8d..e69de29bb 100644 --- a/frontend/dist/banner.txt +++ b/frontend/dist/banner.txt @@ -1,3 +0,0 @@ -Do data resources managed by EMBL-EBI and our collaborators make a difference to your work?

-Please take 10 minutes to fill in our annual user survey, and help us make the case for why sustaining open data resources is critical for life sciences research.

-Survey link: https://www.surveymonkey.com/r/HJKYKTT?channel=[webpage] \ No newline at end of file diff --git a/frontend/src/banner.txt b/frontend/src/banner.txt index 62d4b5c8d..e69de29bb 100644 --- a/frontend/src/banner.txt +++ b/frontend/src/banner.txt @@ -1,3 +0,0 @@ -Do data resources managed by EMBL-EBI and our collaborators make a difference to your work?

-Please take 10 minutes to fill in our annual user survey, and help us make the case for why sustaining open data resources is critical for life sciences research.

-Survey link: https://www.surveymonkey.com/r/HJKYKTT?channel=[webpage] \ No newline at end of file