Skip to content

Commit

Permalink
Issue #454: Action to push code to Acquia
Browse files Browse the repository at this point in the history
  • Loading branch information
isholgueras committed Feb 24, 2024
1 parent de3eaa8 commit 31f3066
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions scaffold/acquia/push/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Push code to Acquia
description: Push code to the Acquia repository
inputs:
repo-url:
description: "Repository URL"
required: true
branch:
description: "Which branch to push to"
required: true
commit-message:
description: "Commit message"
required: false
runs:
using: composite
steps:
- name: Push code to Acquia
run: |
source .github/actions/drainpipe/set-env/bash_aliases
drainpipe_exec "task deploy:git directory=/tmp/release branch=${{ inputs.branch }} remote=${{ inputs.repo-url }} message=\"${{ inputs.commit-message }}\""
shell: bash

0 comments on commit 31f3066

Please sign in to comment.