summaryrefslogtreecommitdiff
path: root/.gitea/workflows/phpdoc.yml
blob: be4ed06b2c4041306ba168a0b7f45abd9ec3cbd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: build

on:
  push:
    branches:
      - "master"
  workflow_dispatch: {}

defaults:
  run:
    shell: sh

jobs:
  build:
    runs-on: alpine-3.16
    steps:
    - name: phpdoc
      run: php81 /phpDocumentor.phar -d classes -d include -t phpdoc --visibility=public

    - name: upload results
      run: rsync -e 'ssh -o StrictHostKeyChecking=no' phpdoc/ ${{ secrets.APK_DEPLOY_USER }}@${{ secrets.APK_DEPLOY_HOST }}:phpdoc/