File tree Expand file tree Collapse file tree 5 files changed +126
-69
lines changed
Expand file tree Collapse file tree 5 files changed +126
-69
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Original docs workflow disabled in favor of new-docs.yml
2+ # This file is kept only for reference. The active workflow is .github/workflows/new-docs.yml
3+ # Backup of the original content: .github/workflows/docs.yaml.bak
4+
5+ #
6+ # name: "Documentation"
7+ #
8+ # on:
9+ # pull_request:
10+ # branches:
11+ # - "[0-9]+.[0-9]+"
12+ # - "[0-9]+.x"
13+ # paths:
14+ # - 'doc/**'
15+ # - '.github/workflows/docs.yaml'
16+ # - 'README.md'
17+ # push:
18+ # branches:
19+ # - "[0-9]+.[0-9]+"
20+ # - "[0-9]+.x"
21+ # - "*_actions"
22+ # paths:
23+ # - 'doc/**'
24+ # - '.github/workflows/docs.yaml'
25+ # - 'README.md'
26+ #
27+ # permissions:
28+ # contents: read
29+ #
30+ # jobs:
31+ # docs:
32+ # name: "Generate docs Pimcore Docs Generator"
33+ # runs-on: "ubuntu-latest"
34+ # steps:
35+ # - name: "Checkout code"
36+ # uses: "actions/checkout@v3"
37+ #
38+ # - name: "Checkout Docs Generator"
39+ # uses: "actions/checkout@v3"
40+ # with:
41+ # repository: "pimcore/docs-generator"
42+ # ref: "main"
43+ # path: "./docs-generator"
44+ # token: ${{ secrets.DOCS_GENERATOR_ACCESS_TOKEN }}
45+ #
46+ # - name: "Install Node"
47+ # uses: actions/setup-node@v3
48+ # with:
49+ # node-version: 19.x
50+ # registry-url: 'https://registry.npmjs.org'
51+ #
52+ # - name: Prepare Docs
53+ # working-directory: "./docs-generator"
54+ # run: |
55+ # mkdir docs
56+ # # copy docs to working directory
57+ # cp -r ../doc ./docs/
58+ #
59+ # # copy readme to working directory
60+ # cp -r ../README.md ./docs/
61+ #
62+ # # copy index page
63+ # cp bin/resources/00_index_empty.md ./docs/00_index.md
64+ #
65+ # # use special docusaurus config (to exclude search plugin) and check for broken links
66+ # mv docusaurus.config.js.repos-tests docusaurus.config.js
67+ #
68+ # - name: Build Docs
69+ # working-directory: "./docs-generator"
70+ # run: |
71+ # npm install
72+ # npm run build
73+ #
Original file line number Diff line number Diff line change 1+ name : " Documentation (Reusable)"
2+
3+ on :
4+ pull_request_target :
5+ branches :
6+ - " [0-9]+.[0-9]+"
7+ - " [0-9]+.x"
8+ - " docs_actions"
9+ paths :
10+ - " doc/**"
11+ - " .github/workflows/new-docs.yml"
12+ - " README.md"
13+ push :
14+ branches :
15+ - " [0-9]+.[0-9]+"
16+ - " [0-9]+.x"
17+ - " docs_actions"
18+ paths :
19+ - " doc/**"
20+ - " .github/workflows/new-docs.yml"
21+ - " README.md"
22+
23+ permissions :
24+ contents : read
25+
26+ jobs :
27+ docs :
28+ uses : pimcore/workflows-collection-public/.github/workflows/reusable-docs.yaml@reusable-workflows
29+ with :
30+ docs_path : " doc"
31+ secrets :
32+ DOCS_GENERATOR_ACCESS_TOKEN : ${{ secrets.DOCS_GENERATOR_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : " Trigger POEditor Translations Export (Reusable)"
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - " [0-9]+.x"
8+ - " docs_actions"
9+ - " main"
10+ paths :
11+ - " src/Resources/translations/admin.en.yml"
12+
13+ permissions :
14+ contents : read
15+
16+ jobs :
17+ poeditor :
18+ uses : pimcore/workflows-collection-public/.github/workflows/reusable-poeditor.yaml@main
19+ secrets :
20+ POEDITOR_ACTION_TRIGGER_TOKEN : ${{ secrets.POEDITOR_ACTION_TRIGGER_TOKEN }}
21+
File renamed without changes.
You can’t perform that action at this time.
0 commit comments