mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2026-01-10 21:41:42 -07:00
Test using composite action
This commit is contained in:
@@ -50,9 +50,10 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: docker
|
using: composite
|
||||||
image: Dockerfile
|
|
||||||
args:
|
args:
|
||||||
|
- run: entrypoint.sh ${{ inputs.source-before-directory }} ${{ inputs.source-directory }} ${{ inputs.destination-github-username }} ${{ inputs.destination-repository-name }} ${{ inputs.github-server }} ${{ inputs.user-email }} ${{ inputs.user-name }} ${{ inputs.destination-repository-username }} ${{ inputs.target-branch }} ${{ inputs.commit-message }} ${{ inputs.target-directory }}
|
||||||
|
shell: sh
|
||||||
- '${{ inputs.source-before-directory }}'
|
- '${{ inputs.source-before-directory }}'
|
||||||
- '${{ inputs.source-directory }}'
|
- '${{ inputs.source-directory }}'
|
||||||
- '${{ inputs.destination-github-username }}'
|
- '${{ inputs.destination-github-username }}'
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#!/bin/sh -l
|
#!/bin/sh -l
|
||||||
|
|
||||||
set -x
|
|
||||||
set -e # if a command fails it stops the execution
|
set -e # if a command fails it stops the execution
|
||||||
set -u # script fails if trying to access to an undefined variable
|
set -u # script fails if trying to access to an undefined variable
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user