From f0153b1b6d58715c4e691799822f6d3d57542e9e Mon Sep 17 00:00:00 2001 From: Lyn Fugmann Date: Sun, 6 Oct 2024 22:39:01 +0200 Subject: [PATCH] test deploy again --- .forgejo/workflows/publish.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 9c8865c..fe1f03a 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -11,13 +11,13 @@ jobs: env: SSH_PRIVATE_KEY: ${{ secrets.SSH_DEPLOY_PRIVATE_KEY }} steps: - - run: apt update && apt install dnsutils -y && dig git.ifsr.de - - - uses: actions/checkout@v4 + - name: checkout + uses: actions/checkout@v4 with: submodules: recursive - - uses: actions/setup-node@v4 + - name: setup node + uses: actions/setup-node@v4 with: node-version: 'lts/*' @@ -25,15 +25,16 @@ jobs: - run: npm run build - - uses: https://code.forgejo.org/forgejo/upload-artifact@v4 + - name: upload artifact + uses: https://code.forgejo.org/forgejo/upload-artifact@v4 with: path: _site - - name: Deploy + - name: deploy run: | eval $(ssh-agent -s) echo "$SSH_PRIVATE_KEY" | ssh-add - apt-get update && apt-get install -y rsync mkdir ~/.ssh - ssh-keyscan quitte.ifsr.de > ~/.ssh/known_hosts - rsync -rvh --progress --delete _site/ ese-deploy@quitte.ifsr.de:2024-test + ssh-keyscan ifsr.de > ~/.ssh/known_hosts + rsync -rvh --progress --delete _site/ ese-deploy@ifsr.de:2024-test