com doc/ru: Simplified CI: .github/workflows/build.yml .github/workflows/check.yml README.md
| From: | Sergey Panteleev | Date: | Sun, 03 Jan 2021 12:36:12 +0000 |
| Subject: | com doc/ru: Simplified CI: .github/workflows/build.yml .github/workflows/check.yml README.md | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-8693@lists.php.net to get a copy of this message | ||
Commit: 0e4b36550a7cbea251ebaf22d3dc42b4aac10e00
Author: Sergey Panteleev <sergey@php.net> Sun, 3 Jan 2021 15:36:12 +0300
Parents: 349d2dcd65eb352f1776dd5c262b2b191aee3c3b
Branches: master
Link: http://git.php.net/?p=doc/ru.git;a=commitdiff;h=0e4b36550a7cbea251ebaf22d3dc42b4aac10e00
Log:
Simplified CI
Changed paths:
A .github/workflows/build.yml
D .github/workflows/check.yml
M README.md
Diff:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 000000000..0f098157b
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,26 @@
+name: Build Test
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+ schedule:
+ - cron: '0 0 * * *'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ path: 'ru'
+
+ - name: Run Build Test Script
+ run: |
+ git clone --depth=1 https://github.com/php/doc-base.git doc-base
+ git clone --depth=1 https://github.com/php/doc-en.git en
+ php doc-base/configure.php --enable-xml-details --disable-libxml-check
--redirect-stderr-to-stdout --with-lang=ru
\ No newline at end of file
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
deleted file mode 100644
index 7aac2f7e7..000000000
--- a/.github/workflows/check.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: Check Russian build
-
-on: [ push, pull_request ]
-
-jobs:
- check-build:
- name: Check build
- runs-on: ubuntu-latest
- steps:
- - name: Fetch Russian module
- uses: actions/checkout@master
- with:
- path: 'ru'
-
- - name: Fetch English module
- uses: actions/checkout@master
- with:
- repository: 'php/doc-en'
- path: 'en'
-
- - name: Fetch base module
- uses: actions/checkout@master
- with:
- repository: 'php/doc-base'
- path: 'doc-base'
-
- - name: Check build
- run: php doc-base/configure.php --with-lang=ru
\ No newline at end of file
diff --git a/README.md b/README.md
index 4ceb42cc5..630b2d1f3 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# Русский перевод документации PHP
[](https://join.slack.com/t/ruphpdoc/shared_invite/zt-ax1czx68-c3_XSVhsgzYJCOslmwvJkQ)
-
+
## Руководство