Skip to content

Commit

Permalink
Add generate docs step
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardosousaufjf committed Jan 15, 2024
1 parent bbf1f7b commit e55de26
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/actions/s3-sync/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@ aws_access_key_id = ${AWS_ACCESS_KEY_ID}
aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY}" > ~/.aws/credentials

echo "Install dependencies"
yarn install
yarn

echo "Generate docs"
yarn doc
rm -rf docs/api/graphql/documentation/introduction.md

echo "Run yarn build"
yarn run build
yarn build

echo "Copying to website folder"
aws s3 sync ./build s3://${AWS_S3_BUCKET} --exact-timestamps --delete --region ${AWS_DEFAULT_REGION} $*
Expand Down

0 comments on commit e55de26

Please sign in to comment.