PP-838: update relay client dependency (#125) #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CD for RIF-Wallet-Mainnet | |
on: | |
push: | |
tags: | |
- '**stable-rifwallet**' | |
jobs: | |
deploy-rif-wallet-mainnet: | |
runs-on: ubuntu-latest | |
environment: | |
name: RIF-Wallet-Mainnet | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.RWM_AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.RWM_AWS_SECRET_ACCESS_KEY }} | |
aws-region: ${{ secrets.RWM_AWS_REGION }} | |
- name: Deploy rif-relay-server on RIF-Wallet Mainnet | |
run: | | |
aws ssm send-command \ | |
--document-name "AWS-RunRemoteScript" \ | |
--instance-ids ""${{ secrets.RWM_EC2_ID }}"" \ | |
--region=${{ secrets.RWM_AWS_REGION }} \ | |
--parameters '{"sourceType":["GitHub"],"sourceInfo":["{\"owner\":\"rootstock\", \"repository\":\"ask-devops\", \"path\": \"rif-relay/\", \"tokenInfo\":\"{{ssm-secure:github-token}}\"}"],"commandLine":["deploy-rwm.sh"]}' |