-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (28 loc) · 1.06 KB
/
docs.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
name: Deploy Docs
on: [workflow_dispatch]
jobs:
docs:
if: ${{ github.repository_owner == 'saicone' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy default docs to Github repository
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
folder: docs/default
ssh-key: ${{ secrets.DOCS_DEPLOY_KEY }}
git-config-name: github-actions[bot]
git-config-email: 41898282+github-actions[bot]@users.noreply.github.com
repository-name: saicone/docs
branch: main
target-folder: docs/ezlib
- name: Deploy ES docs to Github repository
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
folder: docs/es
ssh-key: ${{ secrets.DOCS_DEPLOY_KEY }}
git-config-name: github-actions[bot]
git-config-email: 41898282+github-actions[bot]@users.noreply.github.com
repository-name: saicone/docs
branch: main
target-folder: i18n/es/docusaurus-plugin-content-docs/current/ezlib