mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
Fix build
This commit is contained in:
40
.github/workflows/build.yaml
vendored
Normal file
40
.github/workflows/build.yaml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
# See https://docs.github.com/en/actions.
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# See https://github.com/actions/checkout.
|
||||
- name: Checkout doc-pt_br
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: pt_br
|
||||
|
||||
- name: Checkout doc-en
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: php/doc-en
|
||||
path: en
|
||||
|
||||
- name: Checkout doc-base
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: php/doc-base
|
||||
path: doc-base
|
||||
|
||||
- name: Quality Assurance scripts
|
||||
run: php doc-base/scripts/qa/extensions.xml.php --check
|
||||
|
||||
- name: Build documentation for pt_br
|
||||
run: php doc-base/configure.php --disable-libxml-check --enable-xml-details --redirect-stderr-to-stdout --with-lang=pt_br
|
||||
46
.github/workflows/integrate.yaml
vendored
46
.github/workflows/integrate.yaml
vendored
@@ -1,46 +0,0 @@
|
||||
# https://docs.github.com/en/actions
|
||||
|
||||
name: "Integrate"
|
||||
|
||||
on:
|
||||
pull_request: null
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "Build"
|
||||
|
||||
runs-on: "ubuntu-latest"
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
language:
|
||||
- "pt_br"
|
||||
|
||||
steps:
|
||||
- name: "Checkout php/doc-${{ matrix.language }}"
|
||||
uses: "actions/checkout@v2"
|
||||
with:
|
||||
path: "${{ matrix.language }}"
|
||||
repository: "php/doc-${{ matrix.language }}"
|
||||
|
||||
- name: "Checkout php/doc-en as fallback"
|
||||
if: "matrix.language != 'en'"
|
||||
uses: "actions/checkout@v2"
|
||||
with:
|
||||
path: "en"
|
||||
repository: "php/doc-en"
|
||||
|
||||
- name: "Checkout php/doc-base"
|
||||
uses: "actions/checkout@v2"
|
||||
with:
|
||||
path: "doc-base"
|
||||
repository: "php/doc-base"
|
||||
|
||||
- name: "Quality Assurance scripts"
|
||||
run: "php8.0 doc-base/scripts/qa/extensions.xml.php --check"
|
||||
|
||||
- name: "Build documentation for ${{ matrix.language }}"
|
||||
run: "php8.0 doc-base/configure.php --disable-libxml-check --enable-xml-details --redirect-stderr-to-stdout --with-lang=${{ matrix.language }}"
|
||||
@@ -1,7 +1,7 @@
|
||||
# Tradução brasileira da documentação do PHP
|
||||
|
||||
[](https://github.com/php/doc-pt_br/actions/workflows/build.yaml)
|
||||
|
||||
Veja como participar [na nossa wiki](https://github.com/php/doc-pt_br/wiki).
|
||||
|
||||
Pequenas correções e sugestões, podem ser feitas por *issues* ou pelo processo convencional de *pull requests* pelo GitHub mesmo.
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user