-
-
Notifications
You must be signed in to change notification settings - Fork 15
39 lines (36 loc) · 1.58 KB
/
PubtoPrivate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Sync Pub with Private (Mirror)
on:
workflow_dispatch:
schedule:
- cron: "0 23 * * *"
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync Fork with Upstream
# You may pin to the exact commit or the version.
uses: yesolutions/[email protected]
on: [push]
with:
# The remote ref name to use. 'mirror' by default. Useful to avoid conflicts with existing remotes.
REMOTE_NAME: ci-cd-litewallet-ios
# The remote repository e.g. https://github.com/octocat/foo.git or [email protected]:octocat/foo.git
REMOTE: https://github.com/litecoin-foundation/ci-cd-litewallet-ios.git
# Username for remote repository
GIT_USERNAME: kcw-grunt
# The git https password or token for the remote repository
GIT_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
# The ssh private key for writing to the remote repository, if using ssh
GIT_SSH_PRIVATE_KEY: # optional
# The ssh public key for writing to the remote repository. Normally, not required at all
GIT_SSH_PUBLIC_KEY: # optional
# The contents of a SSH known_hosts file for host key verification
GIT_SSH_KNOWN_HOSTS: # optional
# if true, skips host key verification. Mutually exclusive with GIT_SSH_KNOWN_HOSTS
GIT_SSH_NO_VERIFY_HOST: # optional, default is false
# Push all refs instead of just the current branch
PUSH_ALL_REFS: # optional, default is true
# The arugments to use when pushing the repository
GIT_PUSH_ARGS: # optional, default is --tags --force --prune
# set to "true" to enable debug mode
DEBUG: # optional, default is false