diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit 650a6e3e03e6e893d80cd8c6d284be3327aeca9a
parent 3cf5f4f8a26ef8b45b0f292fa8e1d0a6a6d427a5
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sat, 24 Jul 2021 17:06:31 +0200

Update man.yml
Diffstat:
M.github/workflows/man.yml | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/man.yml b/.github/workflows/man.yml @@ -5,8 +5,6 @@ on: branches: [ master ] pull_request: branches: [ master ] -env: - SSH_AUTH_SOCK: $RUNNER_TEMP/ssh-agent.sock jobs: man: @@ -19,12 +17,15 @@ jobs: - name: Create html from man doc run: mandoc -Thtml man1/diary.1 > man1/diary.1.html - name: Add ssh key + env: + SSH_AUTH_SOCK: $RUNNER_TEMP/ssh-agent.sock # https://www.webfactory.de/blog/use-ssh-key-for-private-repositories-in-github-actions run: | - eval "$(ssh-agent -a ${{ env.SSH_AUTH_SOCK }})" + ssh-agent -a $SSH_AUTH_SOCK > /dev/null ls -l $RUNNER_TEMP - ls -l ${{ env.SSH_AUTH_SOCK }} - + ls -l $SSH_AUTH_SOCK ssh-add - <<< "${{ secrets.SSH_B64 }}" - name: Send html to website + env: + SSH_AUTH_SOCK: $RUNNER_TEMP/ssh-agent.sock run: scp man1/diary.1.html hcloud@diary.in0rdr.ch:/home/hcloud/