mirror/action.yaml
2024-11-18 16:42:02 +00:00

20 lines
425 B
YAML

inputs:
token:
description: A token to authenticate clone current repo
default: ${{ gitea.token }}
ssh_priv:
description: SSH key to push to url
required: true
known_hosts:
description: Content of ~/.ssh/known_hosts
required: true
url:
description: Push destination
required: true
runs:
using: composite
steps:
- name: Mirror
run: ${{ gitea.action_path }}/entrypoint.sh