Revert "curl"
Some checks failed
publish / publish (push) Failing after 13s

This reverts commit 662ec193ef.
This commit is contained in:
Lyn Fugmann 2024-10-05 17:19:37 +02:00
parent 662ec193ef
commit 9760fa0626

View file

@ -7,6 +7,34 @@ on:
jobs: jobs:
publish: publish:
runs-on: curl runs-on: ubuntu-latest
# env:
# SSH_PRIVATE_KEY: ${{ secrets.SOME_SECRET_THAT_REPRESENTS_THE_PRIVATE_KEY }}
steps: steps:
- run: curl -v -I https://git.ifsr.de - 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