Skip to content

Commit

Permalink
testing aws upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lidimayra committed Apr 29, 2022
1 parent 825de27 commit dfd83be
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 48 deletions.
22 changes: 18 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ orbs:
yarn: artsy/yarn@6.2.0

jobs:
upload-locales:
upload-locales-staging:
docker:
- image: "cimg/python:3.10"
steps:
- aws-s3/sync:
arguments: --acl public-read
from: "src/v2/__generated_i18n_/"
from: "./src/locales"
to: "s3://artsy-force-staging/locales"
upload-locales-production:
docker:
- image: "cimg/python:3.10"
steps:
- aws-s3/sync:
arguments: --acl public-read
from: "./src/locales"
to: "s3://artsy-force-production/locales"

run_deepcrawl_automator:
Expand Down Expand Up @@ -313,14 +321,20 @@ workflows:
default:
jobs:
- detect-secrets:
<<: *not_main_or_staging_or_release
<<: *not_main_or_staging_or_release

- upload-locales:
- upload-locales-staging:
context: static-sites-uploader
filters:
branches:
only: hack10/intl-i18next

- upload-locales-production:
context: static-sites-uploader
filters:
branches:
only: release

# Main build
- artsy-remote-docker/buildkit-build:
<<: *not_staging_or_release
Expand Down
21 changes: 21 additions & 0 deletions src/locales/en-US/navbar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"show": "Show",
"shows": "Shows",
"buy": "Buy",
"artists": "Artists",
"artworks": "Artworks",
"galleries": "Galleries",
"auctions": "Auctions",
"fairs": "Fairs",
"museums": "Museums",
"viewingRooms": "Viewing Rooms",
"nfts": "NFTs",
"signup": "Sign up",
"login": "Log In",
"sell": "Sell",
"priceDatabase": "Price Database",
"editorial": "Editorial",
"downloadApp": "Download App",
"searchBy": "Search by artist, gallery, style, theme, tag, etc.",
"searchArtsy": "Search Artsy"
}
22 changes: 0 additions & 22 deletions src/locales/en-US/translation.json

This file was deleted.

22 changes: 0 additions & 22 deletions src/locales/en/translation.json

This file was deleted.

0 comments on commit dfd83be

Please sign in to comment.