polisplexity.tech/.drone.yml
Ekaropolus 793af9d4a6
All checks were successful
continuous-integration/drone/push Build is passing
CI test
2025-04-19 01:37:32 -06:00

19 lines
523 B
YAML

kind: pipeline
type: docker
name: mirror-to-github
steps:
- name: push-to-github
image: alpine:latest
environment:
SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY
commands:
- apk add --no-cache git openssh
- mkdir -p /root/.ssh
- echo "$SSH_PRIVATE_KEY" > /root/.ssh/id_rsa
- chmod 600 /root/.ssh/id_rsa
- ssh-keyscan github.com >> /root/.ssh/known_hosts
- git remote add github git@github.com:ekaropolus/polisplexity.tech.git
- git push --mirror github