File tree Expand file tree Collapse file tree 1 file changed +14
-23
lines changed Expand file tree Collapse file tree 1 file changed +14
-23
lines changed Original file line number Diff line number Diff line change 99 - checks_requested
1010
1111jobs :
12- build-and-deploy :
13- runs-on : ubuntu-22.04
14- env :
15- CI : true
16- NODE_ENV : production
17- steps :
18- - uses : actions/checkout@v4
19- - name : Set up Node.js
20- uses : actions/setup-node@v3
21- with :
22- node-version : ' 20.x'
23- cache : ' yarn'
24- - name : Docusaurus Webpack cache
25- uses : actions/cache@v3
26- with :
27- path : node_modules/.cache
28- key : ${{ runner.os }}-webpack-cache
29- - name : Install dependencies
30- run : yarn install --frozen-lockfile
31- - name : Build the Docusaurus site
32- env :
33- NODE_OPTIONS : " --max-old-space-size=8192 --max-http-header-size=8192"
34- run : yarn build
12+ deploy-to-review :
13+ uses : SumoLogic/sumologic-documentation/.github/workflows/build_and_deploy.yml@main
14+ with :
15+ hostname : https://d2t1s0ah22jxsa.cloudfront.net
16+ base_url : /${{ github.ref_name }}/
17+ environment : review/${{ github.ref_name }}
18+ secrets :
19+ S3_BUCKET_NAME : ${{ secrets.REVIEW_S3_BUCKET_NAME }}
20+ CLOUDFRONT_DISTRIBUTION_ID : ${{ secrets.REVIEW_CLOUDFRONT_DISTRIBUTION_ID }}
21+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
22+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
23+ spellcheck :
24+ runs-on : ubuntu-latest
25+ steps :
3526 spellcheck :
3627 runs-on : ubuntu-latest
3728 steps :
You can’t perform that action at this time.
0 commit comments