diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 329671ce..91bdde1d 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,6 +1,11 @@ on: workflow_dispatch: +env: + BASE_URL: "/" + URL: "https://staging.docs.rarimo.com" + STAGING: "true" + jobs: converge: name: Converge @@ -16,9 +21,6 @@ jobs: # This is where you will update the personal access token to GITHUB_TOKEN run: | echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - export URL="https://staging.docs.rarimo.com" - export BASE_URL="/" - export STAGING="true" - name: Cache layers uses: actions/cache@v3 diff --git a/.github/workflows/actions_onlymain.yml b/.github/workflows/actions_onlymain.yml index b7cdb688..6bbfab35 100644 --- a/.github/workflows/actions_onlymain.yml +++ b/.github/workflows/actions_onlymain.yml @@ -8,6 +8,8 @@ env: IMAGE_NAME: ghcr.io/${{ github.repository }}:${{github.sha}} URL: "https://staging.docs.rarimo.com" DOMAIN: staging.docs.rarimo.com + BASE_URL: "/" + STAGING: "true" jobs: converge: @@ -24,9 +26,6 @@ jobs: # This is where you will update the personal access token to GITHUB_TOKEN run: | echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - export URL="https://staging.docs.rarimo.com" - export BASE_URL="/" - export STAGING="true" - name: Cache layers uses: actions/cache@v3 diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 8d186b13..dbd3806b 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -5,8 +5,10 @@ on: env: IMAGE_NAME: ghcr.io/${{ github.repository }}:${{github.ref_name}} - URL: "https://staging.docs.rarimo.com" + URL: "https://docs.rarimo.com" DOMAIN: staging.docs.rarimo.com + BASE_URL: "/" + STAGING: "false" jobs: converge: @@ -23,9 +25,6 @@ jobs: # This is where you will update the personal access token to GITHUB_TOKEN run: | echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - export URL="https://docs.rarimo.com" - export BASE_URL="/" - export STAGING="false" - name: Cache layers uses: actions/cache@v3