From ac399e707a096f21e2d966f450da1a108dcdca02 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Thu, 11 Jul 2024 09:54:39 +0930 Subject: [PATCH] Test docs deployment 2nd attempt --- .github/workflows/deploy_app_docs.yml | 52 +++++++++++++------------- .github/workflows/deploy_test_docs.yml | 2 +- package-lock.json | 4 +- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/deploy_app_docs.yml b/.github/workflows/deploy_app_docs.yml index 650c5e12..fdd427da 100644 --- a/.github/workflows/deploy_app_docs.yml +++ b/.github/workflows/deploy_app_docs.yml @@ -45,32 +45,32 @@ jobs: - name: Upload static React site to S3 run: aws s3 sync apps/smart-forms-app/dist s3://smart-forms-react-app/ - deploy-docusaurus-s3: - name: Deploy Docusaurus to S3 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Use Node.js 18.x - uses: actions/setup-node@v4 - with: - node-version: 18 - cache: npm - - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 - with: - role-to-assume: arn:aws:iam::209248795938:role/SmartFormsReactAppDeployment - aws-region: ap-southeast-2 - - - name: Install dependencies - run: npm ci - - - name: Build documentation website - run: npm run build -w documentation - - - name: Upload static Docusaurus site to S3 - run: aws s3 sync documentation/build s3://smart-forms-docs/docs +# deploy-docusaurus-s3: +# name: Deploy Docusaurus to S3 +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# +# - name: Use Node.js 18.x +# uses: actions/setup-node@v4 +# with: +# node-version: 18 +# cache: npm +# +# - name: Configure AWS credentials +# uses: aws-actions/configure-aws-credentials@v4 +# with: +# role-to-assume: arn:aws:iam::209248795938:role/SmartFormsReactAppDeployment +# aws-region: ap-southeast-2 +# +# - name: Install dependencies +# run: npm ci +# +# - name: Build documentation website +# run: npm run build -w documentation +# +# - name: Upload static Docusaurus site to S3 +# run: aws s3 sync documentation/build s3://smart-forms-docs/docs chromatic: name: Run Chromatic diff --git a/.github/workflows/deploy_test_docs.yml b/.github/workflows/deploy_test_docs.yml index e9ecdb8a..96f0c6d3 100644 --- a/.github/workflows/deploy_test_docs.yml +++ b/.github/workflows/deploy_test_docs.yml @@ -34,4 +34,4 @@ jobs: run: npm run build -w documentation - name: Upload static Docusaurus site to S3 - run: aws s3 sync documentation/build s3://smart-forms-test-docs/docz --cache-control no-cache + run: aws s3 sync documentation/build s3://smart-forms-docs/docs --cache-control no-cache diff --git a/package-lock.json b/package-lock.json index 8a21e486..bd9c8c7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42626,7 +42626,7 @@ } }, "services/extract-express": { - "version": "0.3.0", + "version": "0.4.0", "license": "Apache-2.0", "dependencies": { "cors": "^2.8.5", @@ -42642,7 +42642,7 @@ } }, "services/populate-express": { - "version": "2.2.6", + "version": "2.2.7", "license": "Apache-2.0", "dependencies": { "@aehrc/sdc-populate": "^2.2.7",