mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-18 03:33:23 +00:00
✨ phpdoc?
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
FROM phpdoc/phpdoc
|
||||
|
||||
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
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
/opt/phpdoc/bin/phpdoc
|
||||
@@ -0,0 +1,28 @@
|
||||
# from https://github.com/PHPMailer/PHPMailer
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
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 }}
|
||||
Reference in New Issue
Block a user