Skip to content

Commit

Permalink
ACMS-000: Fixed issue for CD job not running.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalkhode1 committed Oct 26, 2023
1 parent 69a2450 commit 446a13b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/acquia_cms_ci.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ jobs:
GIT_COMMITTER_NAME: "Vishal Khode"
GIT_COMMITTER_EMAIL: "[email protected]"
GIT_AUTHOR_EMAIL: "[email protected]"
needs: [ static_code_analysis, integrated_tests, isolated_tests ]
AWS_S3_BUCKET_PATH: s3://acquia-cms-artifacts
runs-on: ubuntu-latest
environment: code_deployment
concurrency: production
Expand All @@ -563,10 +563,16 @@ jobs:
env:
DRUPAL_SSH_PRIVATE_KEY: ${{ secrets.DRUPAL_SSH_PRIVATE_KEY }}
DRUPAL_SSH_KNOWN_HOSTS: git.drupal.org
- 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: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Download Splitsh-lite
run: |
cd ${GITHUB_WORKSPACE}/scripts/
curl -L https://github.com/splitsh/lite/releases/latest/download/lite_linux_amd64.tar.gz | tar zx
aws s3 cp ${AWS_S3_BUCKET_PATH}/splitsh-lite/lite_linux_amd64.tar.gz . && tar xvzf lite_linux_amd64.tar.gz
chmod +x splitsh-lite
cd -
- name: deploy_code
Expand Down

0 comments on commit 446a13b

Please sign in to comment.