Skip to content

Commit

Permalink
#8534: Reuse the repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri-tenstorrent committed Sep 11, 2024
1 parent ed9ee17 commit e8a0324
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docs-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
matrix:
arch: [grayskull]
env:
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }}
DOCS_VERSION: ${{ inputs.version }}
DOCS_REPO: docs-test
ARCH_NAME: ${{ matrix.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
Expand Down Expand Up @@ -71,8 +71,8 @@ jobs:
git config --global user.email "${GITHUB_USER}@tenstorrent.com"
git config --global user.name "${GITHUB_USER}"
echo "About to clone"
git clone https://${GITHUB_USER}:${{ secrets.TTBOT_DOCS_ACCESS }}@github.com/tenstorrent/tenstorrent.github.io.git
git remote set-url origin https://${GITHUB_USER}::${{ secrets.TTBOT_DOCS_ACCESS }}@github.com/tenstorrent/tenstorrent.github.io.git
git clone https://${GITHUB_USER}:${{ secrets.TTBOT_DOCS_ACCESS }}@github.com/tenstorrent/$DOCS_REPO.git
git remote set-url origin https://${GITHUB_USER}::${{ secrets.TTBOT_DOCS_ACCESS }}@github.com/tenstorrent/$DOCS_REPO.git
- name: Package TT-Metalium Docs
run: |
echo "Preparing tt-metalium docs assets"
Expand All @@ -81,7 +81,7 @@ jobs:
cp -Lr docs/source/tt-metalium/* tt-metalium
rm tt-metalium/conf.py # Do not change conf.py
echo "Copying the docs into the repo"
cp -r tt-metalium/* tenstorrent.github.io/tt-metalium
cp -r tt-metalium/* $DOCS_REPO/tt-metalium
- name: Package TT-NN Docs
run: |
mkdir ttnn-docs
Expand All @@ -98,10 +98,10 @@ jobs:
sed -i "s/.\/ttnn\/installing/\/installing/g" ttnn-docs/ttnn/get_started.rst
echo "Copying the docs into the repo"
cp -r ttnn-docs/* tenstorrent.github.io/ttnn
cp -r ttnn-docs/* $DOCS_REPO/ttnn
- name: Push new versions to the Docs repo for publishing
run: |
cd tenstorrent.github.io
cd $DOCS_REPO
echo "Register new documentation versions"
python update_tags.py tt-metalium $DOCS_VERSION
python update_tags.py ttnn $DOCS_VERSION
Expand Down

0 comments on commit e8a0324

Please sign in to comment.