This repository was archived by the owner on May 6, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
87 lines (87 loc) · 3.58 KB
/
main.yml
File metadata and controls
87 lines (87 loc) · 3.58 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: Push to other repositories
on: push
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Pushes to integrators - APIs
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'docs/APIs'
target-directory: 'docs/APIs'
destination-github-username: 'easysoftware'
destination-repository-name: 'developer-portal-integrators'
user-email: ${{ secrets.EMAIL }}
target-branch: main
- name: Pushes to partner devs - Frontend_tutorials
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'docs/Frontend_tutorials'
target-directory: 'docs/Frontend_tutorials'
destination-github-username: 'easysoftware'
destination-repository-name: 'developer-portal-partner-devs'
user-email: ${{ secrets.EMAIL }}
target-branch: main
- name: Pushes to partner devs - Getting_started
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'docs/Getting_started'
target-directory: 'docs/Getting_started'
destination-github-username: 'easysoftware'
destination-repository-name: 'developer-portal-partner-devs'
user-email: ${{ secrets.EMAIL }}
target-branch: main
- name: Pushes to partner devs - Hello_RYS
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'docs/Hello_RYS'
target-directory: 'docs/Hello_RYS'
destination-github-username: 'easysoftware'
destination-repository-name: 'developer-portal-partner-devs'
user-email: ${{ secrets.EMAIL }}
target-branch: main
- name: Pushes to partner devs - Others
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'docs/Others'
target-directory: 'docs/Others'
destination-github-username: 'easysoftware'
destination-repository-name: 'developer-portal-partner-devs'
user-email: ${{ secrets.EMAIL }}
target-branch: main
- name: Pushes to partner devs - APIs
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'docs/APIs'
target-directory: 'docs/APIs'
destination-github-username: 'easysoftware'
destination-repository-name: 'developer-portal-partner-devs'
user-email: ${{ secrets.EMAIL }}
target-branch: main
- name: Pushes to partner devs - Backend_tutorials
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'docs/Backend_tutorials'
target-directory: 'docs/Backend_tutorials'
destination-github-username: 'easysoftware'
destination-repository-name: 'developer-portal-partner-devs'
user-email: ${{ secrets.EMAIL }}
target-branch: main