diff --git a/.gitea/workflows/phpdoc.yml b/.gitea/workflows/phpdoc.yml index be4ed06b2..cd04042e1 100644 --- a/.gitea/workflows/phpdoc.yml +++ b/.gitea/workflows/phpdoc.yml @@ -17,5 +17,11 @@ jobs: - 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/