From 61d6fbbbce72b985305ec0ea31cdfe17a647ed61 Mon Sep 17 00:00:00 2001 From: Bassam Riman <bassam.riman@iohk.io> Date: Fri, 24 May 2024 10:34:50 -0400 Subject: [PATCH] ATL-7068: Rename Infra documentation Signed-off-by: Bassam Riman <bassam.riman@iohk.io> --- .github/workflows/build-docs.yml | 2 +- .github/workflows/delete_old_packages.yml | 4 ++-- infra/README.md | 6 +++--- infra/release-docs-container.sh | 4 ++-- package.json | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 7756852c8..6977a0827 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -12,7 +12,7 @@ defaults: env: REGISTRY: ghcr.io - IMAGE_NAME: prism-documentation-portal + IMAGE_NAME: identus-documentation-portal jobs: build: diff --git a/.github/workflows/delete_old_packages.yml b/.github/workflows/delete_old_packages.yml index 48c7ba232..27d79d25b 100644 --- a/.github/workflows/delete_old_packages.yml +++ b/.github/workflows/delete_old_packages.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/delete-package-versions@v4 with: owner: input-output-hk - package-name: prism-documentation-portal + package-name: identus-documentation-portal package-type: container min-versions-to-keep: 10 - token: ${{ secrets.ATALA_GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/infra/README.md b/infra/README.md index f1811bf74..ed494b44c 100644 --- a/infra/README.md +++ b/infra/README.md @@ -1,4 +1,4 @@ -# Atala PRISM V2 Website +# Identus Website This has the necessary stuff to prepare the website for deployment. @@ -14,8 +14,8 @@ yarn build website ## Building docker image 1. Copy prebuilt `website` to this directory (`infra`) so that docker can find it -2. Build the docker image: `docker build -t prism-documentation-portal .` -3. Run the container: `docker run -p 8000:80 -it prism-documentation-portal` +2. Build the docker image: `docker build -t identus-documentation-portal .` +3. Run the container: `docker run -p 8000:80 -it identus-documentation-portal` 4. Go to [localhost:8000](http://localhost:8000) to find the website ## CI/CD diff --git a/infra/release-docs-container.sh b/infra/release-docs-container.sh index 67270a958..96429d071 100755 --- a/infra/release-docs-container.sh +++ b/infra/release-docs-container.sh @@ -4,5 +4,5 @@ VERSION="${1}" cd "$(dirname "${BASH_SOURCE[0]}")/.." || exit 126 yarn build --out-dir infra/website -docker build -t ghcr.io/input-output-hk/prism-documentation-portal:${VERSION} -f infra/Dockerfile . -docker push ghcr.io/input-output-hk/prism-documentation-portal:${VERSION} +docker build -t ghcr.io/input-output-hk/identus-documentation-portal:${VERSION} -f infra/Dockerfile . +docker push ghcr.io/input-output-hk/identus-documentation-portal:${VERSION} diff --git a/package.json b/package.json index b16a1c731..c4030aafd 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "prism-documentation-portal", + "name": "identus-documentation-portal", "version": "1.94.1", "private": true, "scripts": {