2024-11-18 10:26:37 +00:00
|
|
|
inputs:
|
2024-11-18 11:23:18 +00:00
|
|
|
token:
|
|
|
|
description: A token to authenticate clone current repo
|
|
|
|
default: ${{ gitea.token }}
|
2024-11-18 10:26:37 +00:00
|
|
|
ssh_priv:
|
|
|
|
description: SSH key to push to url
|
|
|
|
required: true
|
|
|
|
known_hosts:
|
2024-11-18 11:23:18 +00:00
|
|
|
description: Content of ~/.ssh/known_hosts
|
2024-11-18 10:26:37 +00:00
|
|
|
required: true
|
|
|
|
url:
|
2024-11-18 11:23:18 +00:00
|
|
|
description: Push destination
|
2024-11-18 10:26:37 +00:00
|
|
|
required: true
|
|
|
|
|
|
|
|
runs:
|
|
|
|
using: composite
|
|
|
|
steps:
|
2024-11-18 10:31:01 +00:00
|
|
|
- name: Mirror
|
2024-11-18 16:42:02 +00:00
|
|
|
run: ${{ gitea.action_path }}/entrypoint.sh
|