Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ on:
jobs:
build:
name: "Build"

runs-on: "ubuntu-latest"

continue-on-error: true

strategy:
Expand All @@ -34,24 +32,36 @@ jobs:
- "zh"

steps:
- name: "Checkout"
- name: "Checkout doc-base"
uses: "actions/checkout@v4"
with:
path: "doc-base"
fetch-depth: 0

- name: "Checkout php/doc-${{ matrix.language }}"
- name: "Checkout doc-${{ matrix.language }}"
uses: "actions/checkout@v4"
with:
path: "${{ matrix.language }}"
repository: "php/doc-${{ matrix.language }}"

- name: "Checkout php/doc-en as fallback"
- name: "Checkout doc-en (fallback)"
if: "matrix.language != 'en'"
uses: "actions/checkout@v4"
with:
path: "en"
repository: "php/doc-en"

- name: "Ensure doc-base is correctly merged into master (debug)"
run: |
echo === This step will fail if the merge commit is not targeting master
cd doc-base
echo === git log -n 3
git log -n 3
echo === git show HEAD
git show HEAD
echo === git merge --no-ff --no-commit master
git merge --no-ff --no-commit origin/master

- name: "Run QA scripts for EN docs"
if: "matrix.language == 'en'"
run: |
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ sources.xml
# File use to generate entities by configure script
fileModHistory.php


# A plece for all temporary or generated files (idempotent build)
temp/
Loading