From 9760fa0626681a8360e001df697f6c09c1a08054 Mon Sep 17 00:00:00 2001 From: Lyn Fugmann Date: Sat, 5 Oct 2024 17:19:37 +0200 Subject: [PATCH] Revert "curl" This reverts commit 662ec193ef2eaebefa5773ea2e634e894d6a20a9. --- .forgejo/workflows/publish.yaml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index ffb297e..ed6a4aa 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -7,6 +7,34 @@ on: jobs: publish: - runs-on: curl + runs-on: ubuntu-latest + # env: + # SSH_PRIVATE_KEY: ${{ secrets.SOME_SECRET_THAT_REPRESENTS_THE_PRIVATE_KEY }} steps: - run: curl -v -I https://git.ifsr.de + # - run: apt update && apt install dnsutils -y && dig git.ifsr.de + + - uses: actions/checkout@v4 + with: + submodules: recursive + + - uses: actions/setup-node@v4 + with: + node-version: 'lts' + + - run: npm ci + + - run: npm run build + + - uses: actions/upload-artifact@v4 + with: + path: _site + + # - name: Deploy + # run: | + # eval $(ssh-agent -s) + # echo "$SSH_PRIVATE_KEY" | ssh-add - + # apt update && apt install -y rsync + # mkdir ~/.ssh + # ssh-keyscan your-host.com > ~/.ssh/known_hosts + # rsync -atv --progress ./public/ your-user@your-host.com:/home/your-user/your-content-directory/public