Skip to content

Commit

Permalink
Add prepare.sh script to deploy on gh-action for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Jun 30, 2023
1 parent ab1a134 commit f7e5310
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
- main
paths:
- "docs/**"
- ".github/workflows/docs.yaml"
pull_request:
branches:
- main
paths:
- "docs/**"
- ".github/workflows/docs.yaml"

jobs:
deploy:
Expand Down Expand Up @@ -52,3 +54,4 @@ jobs:
run: |
aws s3 sync docs/out/ s3://starship.cosmology.tech
aws cloudfront create-invalidation --distribution-id E1LIY8AZD4EEQD --paths "/*"
cd docs/ && ./seo/prepare.sh

0 comments on commit f7e5310

Please sign in to comment.