Skip to content

Commit

Permalink
Test docs deployment 4th attempt and fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fongsean committed Jul 11, 2024
1 parent 001a754 commit b69a6f1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/deploy_app_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions documentation/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const config: Config = {
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'throw',

trailingSlash: false,

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
Expand Down

0 comments on commit b69a6f1

Please sign in to comment.