Skip to content

Commit

Permalink
Merge pull request #797 from haddocking/amjjbonvin-patch-1-1
Browse files Browse the repository at this point in the history
Create action.yml
  • Loading branch information
amjjbonvin authored Feb 9, 2024
2 parents 2387b08 + 67ce498 commit b977494
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'Git Repo Sync'
description: 'Git Repo Sync enables you to synchronize code to other code management platforms, such as GitLab, Gitee, etc.'

branding:
icon: upload-cloud
color: gray-dark

inputs:
target-url:
description: 'Target Repo URL'
required: true
target-username:
description: 'Target Repo Username'
required: true
target-token:
description: 'Target Token'
required: true
runs:
using: "composite"
steps:
- run: chmod +x ${{ github.action_path }}/entrypoint.sh
shell: bash
- run: ${{ github.action_path }}/entrypoint.sh
shell: bash
env:
INPUT_TARGET_URL: ${{ inputs.target-url }}
INPUT_TARGET_USERNAME: ${{ inputs.target-username }}
INPUT_TARGET_TOKEN: ${{ inputs.target-token }}
GITHUB_EVENT_REF: ${{ github.event.ref }}

0 comments on commit b977494

Please sign in to comment.