Skip to content

Commit

Permalink
ISSUE-204: more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-aveiga committed Nov 25, 2024
1 parent ca58ff8 commit 724f44d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/TestAcquia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
api-secret: ${{ secrets.ACQUIA_API_SECRET }}

- name: Deploy to dev
uses: ./drainpipe/scaffold/github/actions/acquia/debug
uses: ./drainpipe/scaffold/github/actions/acquia/deploy
with:
github-token: "test1"
environment: "test6"
Expand Down
34 changes: 0 additions & 34 deletions scaffold/github/actions/acquia/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,37 +31,3 @@ runs:
github-token: ${{ inputs.github-token }}
environment: ${{ inputs.environment }}

- name: Put site in Maintenance Mode
run: |
source .github/actions/drainpipe/common/set-env/bash_aliases
drainpipe_exec "ACQUIA_API_KEY=${{ inputs.api-key }} ACQUIA_API_SECRET=${{ inputs.api-secret }} ./vendor/bin/task acquia:auth"
ENVIRONMENT="${{ inputs.environment }}"
APPLICATION=${ENVIRONMENT%.*}
drainpipe_exec "acli remote:aliases:download --no-interaction $APPLICATION"
drainpipe_exec "./vendor/bin/task drupal:maintenance:on [email protected]"
shell: bash

- name: Push to Acquia
uses: .github/actions/drainpipe/acquia/push
with:
environment: ${{ inputs.environment }}
commit-message: ${{ inputs.commit-message }}
api-key: ${{ inputs.api-key }}
api-secret: ${{ inputs.api-secret }}

- name: Run updates
uses: .github/actions/drainpipe/acquia/update
with:
environment: ${{ inputs.environment }}
run-installer: ${{ inputs.run-installer }}

- name: Set Deployment Status
uses: .github/actions/drainpipe/common/deployment-status
with:
github-token: ${{ inputs.github-token }}
environment-url: ${{ inputs.environment-url }}

- name: Take site out of Maintenance Mode
run: |
drainpipe_exec "./vendor/bin/task drupal:maintenance:on site=@${{ inputs.environment }}"
shell: bash

0 comments on commit 724f44d

Please sign in to comment.