summaryrefslogtreecommitdiff
path: root/.gitea/workflows/phpdoc.yml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-03-28 17:57:17 +0300
committerAndrew Dolgov <[email protected]>2023-03-28 17:57:17 +0300
commitdfffa20e78a0cd709157079e8c4c4d092257a3ca (patch)
treefd52c54f07a1961e9c3ecebc180ab146f826e106 /.gitea/workflows/phpdoc.yml
parentd25440f0515798abe4f2a390e92eb14565bf0730 (diff)
simplify pipeline setup
Diffstat (limited to '.gitea/workflows/phpdoc.yml')
-rw-r--r--.gitea/workflows/phpdoc.yml27
1 files changed, 0 insertions, 27 deletions
diff --git a/.gitea/workflows/phpdoc.yml b/.gitea/workflows/phpdoc.yml
deleted file mode 100644
index cd04042e1..000000000
--- a/.gitea/workflows/phpdoc.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-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: prepare ssh
- run: |
- mkdir -p ~/.ssh
- echo "${{ secrets.APK_DEPLOY_SSH_KEY }}" | tr -d \\r > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
-
- - name: upload results
- run: rsync -e 'ssh -o StrictHostKeyChecking=no' phpdoc/ ${{ secrets.APK_DEPLOY_USER }}@${{ secrets.APK_DEPLOY_HOST }}:phpdoc/