Skip to content

Commit 251391e

Browse files
committed
drop
1 parent eb6218f commit 251391e

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ jobs:
686686
- setup-build
687687
runs-on: ubuntu-latest
688688
timeout-minutes: 5
689+
if: github.event.pull_request.draft != true
689690
steps:
690691
- name: Checkout code
691692
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -726,19 +727,6 @@ jobs:
726727
- name: Build mkdocs
727728
run: pnpm mkdocs build --no-build
728729

729-
- name: Build mkdocs
730-
run: pnpm mkdocs build --no-build
731-
732-
- run: tar -czf tmp/mkdocs-site.tgz -C tools/mkdocs/site .
733-
734-
- name: Upload docs artifact for deployment
735-
if: github.ref_name == 'main'
736-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
737-
with:
738-
name: mkdocs-site
739-
path: tmp/mkdocs-site.tgz
740-
retention-days: 1
741-
742730
test-e2e:
743731
needs:
744732
- setup-build
@@ -896,7 +884,6 @@ jobs:
896884
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
897885

898886
- name: Upload docs artifact for deployment
899-
if: github.ref_name == 'main'
900887
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
901888
with:
902889
name: mkdocs-site
@@ -921,7 +908,7 @@ jobs:
921908

922909
runs-on: ubuntu-latest
923910
steps:
924-
- name: Download mkdocs site from release
911+
- name: Download docs artifact from release
925912
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
926913
with:
927914
name: mkdocs-site
@@ -935,7 +922,7 @@ jobs:
935922
# Per https://github.com/renovatebot/helm-charts/issues/3752, when we migrated the docs site from renovatebot/renovatebot.github.io to renovatebot/renovate, the `/helm-charts/` repository would no longer work as a subdomain, due to a known GitHub Pages limitation
936923
- name: Mirror helm-charts/index.yaml from helm-charts' GitHub Pages site
937924
run: |
938-
mkdir tools/mkdocs/site/helm-charts
925+
mkdir -p tools/mkdocs/site/helm-charts
939926
curl --retry 5 --silent https://renovatebot.github.io/helm-charts/index.yaml -o tools/mkdocs/site/helm-charts/index.yaml
940927
941928
- name: Upload GitHub Pages artifact

0 commit comments

Comments
 (0)