File tree 1 file changed +2
-31
lines changed
1 file changed +2
-31
lines changed Original file line number Diff line number Diff line change 73
73
yarn install --frozen-lockfile
74
74
yarn clear
75
75
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
78
78
yarn build
79
79
touch build/.nojekyll
80
80
@@ -100,32 +100,3 @@ jobs:
100
100
id : deployment
101
101
uses : actions/deploy-pages@v4
102
102
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
You can’t perform that action at this time.
0 commit comments