Skip to content

Commit

Permalink
Temporarily use docs from upcoming also for main to unblock deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelkost committed Jun 6, 2024
1 parent 948799b commit b165f49
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,11 @@ jobs:
run: yarn install --frozen-lockfile

- name: Download language docs
working-directory: main/website
working-directory: upcoming/website
run: |
yarn ts-node download_links.ts docs_py docs_cxx docs_java
ls -lisah .
- name: Test artifacts
run: |
curl -vvv https://downloads.tableau.com/tssoftware//tableauhyperapi-py-docs-main.0.0.18825.rd90b6d69.zip > /dev/null
curl -vvv https://downloads.tableau.com/tssoftware//tableauhyperapi-cxx-docs-main.0.0.18825.rd90b6d69.zip > /dev/null
curl -vvv https://downloads.tableau.com/tssoftware//tableauhyperapi-java-docs-main.0.0.18825.rd90b6d69.zip > /dev/null
- name: Build webpage for `main` branch
working-directory: main/website
run: yarn build
Expand All @@ -89,11 +82,11 @@ jobs:
mv main/website/build combined
mv upcoming/website/build combined/upcoming
mkdir combined/lang_docs
unzip main/website/docs_py.zip -d combined/lang_docs
unzip upcoming/website/docs_py.zip -d combined/lang_docs
mv combined/lang_docs/tableauhyperapi-py-docs-* combined/lang_docs/py
unzip main/website/docs_cxx.zip -d combined/lang_docs
unzip upcoming/website/docs_cxx.zip -d combined/lang_docs
mv combined/lang_docs/tableauhyperapi-cxx-docs-* combined/lang_docs/cxx
unzip main/website/docs_java.zip -d combined/lang_docs
unzip upcoming/website/docs_java.zip -d combined/lang_docs
mv combined/lang_docs/tableauhyperapi-java-docs-* combined/lang_docs/java
- name: Upload webpage artifact
Expand Down

0 comments on commit b165f49

Please sign in to comment.