at main 370 B view raw
1when: 2 - event: ["push"] 3 branch: ["main"] 4 - event: ["manual"] 5 6dependencies: 7 ## from nixpkgs 8 nixpkgs: 9 - nodejs 10 - git 11steps: 12 - name: "Set up SSH Key" 13 command: "mkdir .ssh ; echo $SSH_KEY > .ssh/id_ed25519" 14 15 - name: "Config Git" 16 command: "git config core.sshCommand 'ssh -i ~/.ssh/id_ed25519'" 17 18 - name: "Deploy" 19 command: "./deploy.sh"