diff --git a/.github/tvarit/deploy_to_dev_30.sh b/.github/tvarit/deploy_to_dev_16.sh similarity index 98% rename from .github/tvarit/deploy_to_dev_30.sh rename to .github/tvarit/deploy_to_dev_16.sh index c36720c65f..c3ef618dbb 100644 --- a/.github/tvarit/deploy_to_dev_30.sh +++ b/.github/tvarit/deploy_to_dev_16.sh @@ -108,9 +108,9 @@ fi DB_ENDPOINT=$(aws lightsail get-relational-database --relational-database-name ${PREFIX}-next-grafana-db --output text --query 'relationalDatabase.masterEndpoint.address') DB_PASSWORD=$(aws lightsail get-relational-database-master-user-password --relational-database-name ${PREFIX}-next-grafana-db --output text --query masterUserPassword) -#SIGNING_SECRET=$(aws secretsmanager get-secret-value --secret-id grafana-signing-secret --output text --query SecretString) +SIGNING_SECRET=$(aws secretsmanager get-secret-value --secret-id grafana-signing-secret --output text --query SecretString) -#AWS-030 +#AWS-016 AWS_ACCESS_KEY=$(aws secretsmanager get-secret-value --secret-id /credentials/grafana-user/access-key --output text --query SecretString) AWS_SECRET_KEY=$(aws secretsmanager get-secret-value --secret-id /credentials/grafana-user/secret-key --output text --query SecretString) diff --git a/.github/workflows/deploy-030.yml b/.github/workflows/deploy-016.yml similarity index 69% rename from .github/workflows/deploy-030.yml rename to .github/workflows/deploy-016.yml index d05c9a4fa3..e73c533dba 100644 --- a/.github/workflows/deploy-030.yml +++ b/.github/workflows/deploy-016.yml @@ -1,4 +1,4 @@ -name: Deploy to 030 +name: Deploy to Dev on: workflow_dispatch: @@ -9,8 +9,8 @@ jobs: environment: development env: AWS_DEFAULT_REGION: eu-central-1 - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_030 }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_030 }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} OAUTH_CLIENT_ID: ${{ secrets.OAUTH_CLIENT_ID }} OAUTH_CLIENT_SECRET: ${{ secrets.OAUTH_CLIENT_SECRET }} SMTP_HOST: ${{ secrets.SMTP_HOST }} @@ -19,4 +19,4 @@ jobs: steps: - uses: actions/checkout@v2 - run: | - bash .github/tvarit/deploy_to_dev_30.sh test \ No newline at end of file + bash .github/tvarit/deploy_to_dev_16.sh test \ No newline at end of file