Skip to content

Commit b2dc6b4

Browse files
committed
Update to use github pages
1 parent 09ceab9 commit b2dc6b4

File tree

1 file changed

+2
-31
lines changed

1 file changed

+2
-31
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ jobs:
7373
yarn install --frozen-lockfile
7474
yarn clear
7575
export DOC_BASE_URL="/$GITHUB_HEAD_REF/"
76-
export DOC_URL=https://staging.docs.gitops.weaveworks.org
77-
export STAGING_BUILD=true
76+
export DOC_URL=https://docs.gitops.weaveworks.org
77+
# export STAGING_BUILD=true
7878
yarn build
7979
touch build/.nojekyll
8080

@@ -100,32 +100,3 @@ jobs:
100100
id: deployment
101101
uses: actions/deploy-pages@v4
102102

103-
prod-release:
104-
if: github.event_name != 'pull_request'
105-
runs-on: ubuntu-latest
106-
defaults:
107-
run:
108-
working-directory: website
109-
steps:
110-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
111-
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
112-
with:
113-
node-version: "16.x"
114-
- name: Setup Pages
115-
uses: actions/configure-pages@v2
116-
- name: Build docs
117-
env:
118-
# GA_KEY: ${{ secrets.GA_KEY }}
119-
# ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
120-
NODE_OPTIONS: "--max-old-space-size=4096"
121-
run: |
122-
yarn install --frozen-lockfile
123-
yarn clear
124-
yarn build
125-
126-
- name: Upload artifact
127-
uses: actions/upload-pages-artifact@v3
128-
with:
129-
name: github-pages
130-
path: website/build
131-
retention-days: 365

0 commit comments

Comments
 (0)