Skip to content

Commit

Permalink
temporarily disable the testnet deployments while under maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
radumojic committed Nov 24, 2023
1 parent 431a388 commit a32a9da
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ jobs:
VITE_APP_MARKERS_API_URL: ${{ secrets.MARKERS_API_URL }}
VITE_APP_VERSION_URL: ${{ secrets.APP_VERSION_URL }}
VITE_APP_WALLETCONNECT_ID: ${{ secrets.WALLETCONNECT_ID }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: 'us-east-1'
- name: Deploy to S3 bucket
run: aws s3 sync ./build/ s3://${{ secrets.AWS_S3_BUCKET_TESTNET }} --delete
- name: No-cache index.html
run: aws s3 cp s3://${{ secrets.AWS_S3_BUCKET_TESTNET }}/index.html s3://${{ secrets.AWS_S3_BUCKET_TESTNET }}/index.html --metadata-directive REPLACE --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type text/html --acl public-read
- name: Slack Notification
uses: rtCamp/action-slack-notify@master
env:
SLACK_ICON_EMOJI: ':globe_with_meridians:'
SLACK_USERNAME: ${{ secrets.AWS_S3_BUCKET_TESTNET }}
SLACK_MESSAGE: ${{ secrets.AWS_S3_BUCKET_TESTNET }}
SLACK_FOOTER: ''
MSG_MINIMAL: true
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: 'us-east-1'
# - name: Deploy to S3 bucket
# run: aws s3 sync ./build/ s3://${{ secrets.AWS_S3_BUCKET_TESTNET }} --delete
# - name: No-cache index.html
# run: aws s3 cp s3://${{ secrets.AWS_S3_BUCKET_TESTNET }}/index.html s3://${{ secrets.AWS_S3_BUCKET_TESTNET }}/index.html --metadata-directive REPLACE --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type text/html --acl public-read
# - name: Slack Notification
# uses: rtCamp/action-slack-notify@master
# env:
# SLACK_ICON_EMOJI: ':globe_with_meridians:'
# SLACK_USERNAME: ${{ secrets.AWS_S3_BUCKET_TESTNET }}
# SLACK_MESSAGE: ${{ secrets.AWS_S3_BUCKET_TESTNET }}
# SLACK_FOOTER: ''
# MSG_MINIMAL: true
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit a32a9da

Please sign in to comment.