-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #454: Action to push code to Acquia
- Loading branch information
1 parent
de3eaa8
commit 31f3066
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
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
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 |