From 6c245fce176d2a39da684eb97e4d0b7663c55e65 Mon Sep 17 00:00:00 2001 From: Arnold Date: Sat, 11 May 2024 03:14:58 +0200 Subject: [PATCH] Rolling back to stuff that actually works (#49) --- .github/workflows/deploy.yml | 36 ++++++++++++++++ .github/workflows/deployment.yml | 71 -------------------------------- .github/workflows/static.yml | 43 +++++++++++++++++++ 3 files changed, 79 insertions(+), 71 deletions(-) create mode 100644 .github/workflows/deploy.yml delete mode 100644 .github/workflows/deployment.yml create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..7d0227c --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,36 @@ +name: Deploy + +on: + push: + branches: + - master + +concurrency: + group: master + cancel-in-progress: true + +jobs: + deploy: + name: Deploy + runs-on: ubuntu-latest + steps: + - name: Configure SSH + env: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + SSH_HOST: ${{ secrets.SSH_HOST }} + SSH_USER: ${{ secrets.SSH_USER }} + run: | + mkdir -p ~/.ssh/ + echo "$SSH_PRIVATE_KEY" > ~/.ssh/github + chmod 600 ~/.ssh/github + cat >>~/.ssh/config < ~/.ssh/github - chmod 600 ~/.ssh/github - cat >>~/.ssh/config <