generated from 8iq/nodejs-hackathon-boilerplate-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 30
38 lines (37 loc) · 1.08 KB
/
gitexporter.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
name: gitexporter
on:
schedule:
- cron: '10 */12 * * *'
push:
branches:
- 'master'
jobs:
gitexporter:
name: Gitexporter
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ssh-key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }}
- name: Checkout source code
uses: actions/checkout@v2
with:
repository: 'open-condo-software/condo'
fetch-depth: 0
submodules: recursive
ssh-key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }}
path: ignore.gitexporter.source
ref: 'master'
- name: Checkout target code
uses: actions/checkout@v2
with:
repository: 'open-condo-software/open-condo-platform'
fetch-depth: 0
submodules: recursive
ssh-key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }}
path: ignore.gitexporter.target
ref: 'master'
- name: gitexporter.sh
run: |
bash .github/workflows/gitexporter.sh ignore.gitexporter.source ignore.gitexporter.target