name: Deploy run-name: deploy frontned to remote server on: [push] jobs: copy: runs-on: ubuntu-latest steps: - name: Configure SSH run: | mkdir -p ~/.ssh/ echo "$SSH_KEY" > ~/.ssh/remote.key chmod 600 ~/.ssh/remote.key cat >>~/.ssh/config <