diff options
author | Andrew Dolgov <[email protected]> | 2023-03-28 17:55:10 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-03-28 17:55:10 +0300 |
commit | d25440f0515798abe4f2a390e92eb14565bf0730 (patch) | |
tree | 02f65c8bf446385a8b33dfca1ac1c2687ef47b88 /.gitea | |
parent | da620ef5d80ec5ab0b04ad75949792f41123a0a2 (diff) |
fix ssh for phpdoc pipeline
Diffstat (limited to '.gitea')
-rw-r--r-- | .gitea/workflows/phpdoc.yml | 6 |
1 files changed, 6 insertions, 0 deletions
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/ |