Skip to content

Commit

Permalink
try to fix docusaurus base_url
Browse files Browse the repository at this point in the history
  • Loading branch information
chabanyknikita committed Nov 20, 2024
1 parent e87968d commit 422b85e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
on:
workflow_dispatch:

env:
BASE_URL: "/"
URL: "https://staging.docs.rarimo.com"
STAGING: "true"

jobs:
converge:
name: Converge
Expand All @@ -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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/actions_onlymain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 422b85e

Please sign in to comment.