feat: remove sitemap script from prepare step (#7437)

This commit is contained in:
eddie 2023-10-10 10:41:08 -07:00 committed by GitHub
parent 04bf075826
commit b38ce038e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

@ -68,6 +68,12 @@ jobs:
git add CODEOWNERS git add CODEOWNERS
git commit -m 'ci: add global CODEOWNERS' git commit -m 'ci: add global CODEOWNERS'
- name: Update sitemap
run: |
yarn sitemap:generate
git add public/sitemap.xml
git commit -m 'ci: update sitemap'
- name: Git push - name: Git push
run: | run: |
git push origin main:releases/staging --force git push origin main:releases/staging --force

@ -17,7 +17,7 @@
"i18n:extract": "lingui extract --locale en-US", "i18n:extract": "lingui extract --locale en-US",
"i18n:compile": "lingui compile", "i18n:compile": "lingui compile",
"i18n": "yarn i18n:extract --clean && yarn i18n:compile", "i18n": "yarn i18n:extract --clean && yarn i18n:compile",
"prepare": "concurrently \"npm:ajv\" \"npm:contracts\" \"npm:graphql\" \"npm:i18n\" \"npm:sitemap:generate\"", "prepare": "concurrently \"npm:ajv\" \"npm:contracts\" \"npm:graphql\" \"npm:i18n\"",
"start": "craco start", "start": "craco start",
"start:cloud": "NODE_OPTIONS=--dns-result-order=ipv4first PORT=3001 npx wrangler pages dev --compatibility-flags=nodejs_compat --compatibility-date=2023-08-01 --proxy=3001 --port=3000 -- yarn start", "start:cloud": "NODE_OPTIONS=--dns-result-order=ipv4first PORT=3001 npx wrangler pages dev --compatibility-flags=nodejs_compat --compatibility-date=2023-08-01 --proxy=3001 --port=3000 -- yarn start",
"build": "craco build", "build": "craco build",