Skip to content

Commit

Permalink
Publish CIDs (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson authored and michellebrier committed Oct 9, 2023
1 parent 1d845d6 commit baa0e60
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions packages/protocol-dashboard/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,20 @@ jobs:
paths:
- ./build_cid.txt

publish-staging-build-cids:
working_directory: ~/protocol-dashboard
docker:
- image: circleci/python:2.7-jessie
steps:
- run:
name: install-awscli
command: sudo pip install awscli
- attach_workspace:
at: ./
- run:
name: Push to S3
command: aws s3 cp build_cid.txt s3://dashboard.staging.audius.org/build_cid.txt

update-staging-records:
working_directory: ~/protocol-dashboard
docker:
Expand Down Expand Up @@ -159,6 +173,20 @@ jobs:
paths:
- ./build_cid.txt

publish-prod-build-cids:
working_directory: ~/protocol-dashboard
docker:
- image: circleci/python:2.7-jessie
steps:
- run:
name: install-awscli
command: sudo pip install awscli
- attach_workspace:
at: ./
- run:
name: Push to S3
command: aws s3 cp build_cid.txt s3://dashboard.audius.org/build_cid.txt

update-prod-records:
working_directory: ~/protocol-dashboard
docker:
Expand Down Expand Up @@ -199,6 +227,13 @@ workflows:
filters:
branches:
only: /^main$/
- publish-staging-build-cids:
context: Audius Client
requires:
- update-staging-ga-build
filters:
branches:
only: /^main$/
- hold-update-staging-records:
type: approval
requires:
Expand Down Expand Up @@ -239,6 +274,13 @@ workflows:
filters:
branches:
only: /^main$/
- publish-prod-build-cids:
context: Audius Client
requires:
- update-prod-ga-build
filters:
branches:
only: /^main$/
- hold-update-prod-records:
type: approval
requires:
Expand Down

0 comments on commit baa0e60

Please sign in to comment.