mirror/action.yaml

20 lines
425 B
YAML
Raw Permalink Normal View History

2024-11-18 10:26:37 +00:00
inputs:
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:
description: Content of ~/.ssh/known_hosts
2024-11-18 10:26:37 +00:00
required: true
url:
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