Просмотр исходного кода

:octocat: remove pdoc creation from 4.3.x branch

codemasher 4 лет назад
Родитель
Сommit
00aa34944b

+ 0 - 17
.github/actions/build-docs/Dockerfile

@@ -1,17 +0,0 @@
-# https://hub.docker.com/r/phpdoc/phpdoc
-FROM phpdoc/phpdoc:3.0
-
-LABEL "repository"="https://github.com/chillerlan/php-qrcode"
-
-LABEL "com.github.actions.name"="Build Docs"
-LABEL "com.github.actions.description"="Build Docs with phpDocumentor"
-LABEL "com.github.actions.icon"="file-text"
-LABEL "com.github.actions.color"="blue"
-
-# don't show errors
-RUN echo "display_errors = Off" > $PHP_INI_DIR/conf.d/errors.ini
-
-COPY entrypoint.sh /entrypoint.sh
-RUN chmod +x /entrypoint.sh
-
-ENTRYPOINT ["/entrypoint.sh"]

+ 0 - 5
.github/actions/build-docs/entrypoint.sh

@@ -1,5 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-/opt/phpdoc/bin/phpdoc

+ 0 - 28
.github/workflows/docs.yml

@@ -1,28 +0,0 @@
-# from https://github.com/PHPMailer/PHPMailer
-
-on:
-  push:
-    branches:
-      - main
-
-name: "Docs"
-
-jobs:
-  build_and_publish:
-    name: "Build and publish Docs"
-    runs-on: ubuntu-latest
-
-    steps:
-      - name: "Checkout sources"
-        uses: actions/checkout@v2
-        with:
-          fetch-depth: 1
-
-      - name: "Build Docs"
-        uses: ./.github/actions/build-docs
-
-      - name: "Publish Docs to gh-pages"
-        uses: maxheld83/ghpages@v0.3.0
-        env:
-          BUILD_DIR: docs/
-          GH_PAT: ${{ secrets.GH_PAT }}

+ 6 - 2
.github/workflows/tests.yml

@@ -2,8 +2,12 @@
 # https://github.com/sebastianbergmann/phpunit/blob/master/.github/workflows/ci.yml
 
 on:
-  - pull_request
-  - push
+  push:
+    branches:
+      - v4.3.x
+  pull_request:
+    branches:
+      - v4.3.x
 
 name: "Continuous Integration"
 

+ 0 - 3
README.md

@@ -10,7 +10,6 @@ namespaced, cleaned up, improved and other stuff.
 [![Scrunitizer CI][scrutinizer-badge]][scrutinizer]
 [![Packagist downloads][downloads-badge]][downloads]<br/>
 [![Continuous Integration][gh-action-badge]][gh-action] 
-[![phpDocs][gh-docs-badge]][gh-docs]
 
 [php-badge]: https://img.shields.io/packagist/php-v/chillerlan/php-qrcode?logo=php&color=8892BF
 [php]: https://www.php.net/supported-versions.php
@@ -26,8 +25,6 @@ namespaced, cleaned up, improved and other stuff.
 [downloads]: https://packagist.org/packages/chillerlan/php-qrcode/stats
 [gh-action-badge]: https://github.com/chillerlan/php-qrcode/workflows/Continuous%20Integration/badge.svg
 [gh-action]: https://github.com/chillerlan/php-qrcode/actions?query=workflow%3A%22Continuous+Integration%22
-[gh-docs-badge]: https://github.com/chillerlan/php-qrcode/workflows/Docs/badge.svg
-[gh-docs]: https://github.com/chillerlan/php-qrcode/actions?query=workflow%3ADocs
 
 ## Documentation