mirror/action.yaml

20 lines
421 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 }}/mirror.sh