mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 16:16:09 -07:00
Test using composite action
This commit is contained in:
parent
bf166ff070
commit
b6ee0e5c19
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user