-
Notifications
You must be signed in to change notification settings - Fork 3
54 lines (52 loc) · 1.97 KB
/
Copy pathsync_components.yml
File metadata and controls
54 lines (52 loc) · 1.97 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
name: build documentation and publish
on:
push:
branches: [ main ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- run: echo "Building documentation..."
- name: build components
run: echo "Building documentation..."
- uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.PAT }}
with:
source-directory: './src/components'
destination-github-username: 'team-dev-docs'
destination-repository-name: 'starter-template'
user-email: github-actions[bot]@users.noreply.github.com
target-branch: 'docs_components_update'
target-directory: 'src/components'
create-target-branch-if-needed: true
- name: build css
run: echo "Building documentation..."
- uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.PAT }}
with:
source-directory: './src/css'
destination-github-username: 'team-dev-docs'
destination-repository-name: 'starter-template'
user-email: github-actions[bot]@users.noreply.github.com
target-branch: 'docs_css_update'
target-directory: 'src/css'
create-target-branch-if-needed: true
- name: build assets
run: echo "Building documentation..."
- uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.PAT }}
with:
source-directory: './static/buttons'
destination-github-username: 'team-dev-docs'
destination-repository-name: 'starter-template'
user-email: github-actions[bot]@users.noreply.github.com
target-branch: 'docs_css_update'
target-directory: 'static/buttons'
create-target-branch-if-needed: true