Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Adiel Cristo committed Dec 3, 2022
1 parent 0db5552 commit 429f350
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 48 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yaml
@@ -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 changes: 0 additions & 46 deletions .github/workflows/integrate.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
@@ -1,7 +1,7 @@
# Tradução brasileira da documentação do PHP

[![Build](https://github.com/php/doc-pt_br/actions/workflows/build.yaml/badge.svg?branch=master)](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.

![Documentation build status](https://github.com/php/doc-pt_br/actions/workflows/integrate.yaml/badge.svg)

0 comments on commit 429f350

Please sign in to comment.