diff --git a/.github/workflows/ContinuousIntegration.yml b/.github/workflows/ContinuousIntegration.yml new file mode 100644 index 0000000..71b130c --- /dev/null +++ b/.github/workflows/ContinuousIntegration.yml @@ -0,0 +1,36 @@ +name: Continuous Integration + +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 <