Skip to content

Commit

Permalink
undo faulty pem change
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Roggo committed Apr 19, 2024
1 parent 596a3f1 commit ae7d08b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
# The setup is made mostly hard by my idea of creating a dedicated "continuous integration" ssh key. I normally use one ssh
# key for everything, but i don't feel like putting the private key on the interwebz :
# - have "mup deploy" running correctly from your machine first (learn more http://meteor-up.com/getting-started.html) with your regular ssh key
# - create a new key pair for CI deploys, lets call it id_rsa_do, by running ssh-keygen (learn more https://is.gd/kJkcAP)
# - add the content of (~/.ssh/id_rsa_do) in your repository as the secret "SSH_KEY" (learn more about the ssh-key-action https://is.gd/Ux9OXY)
# - add the output of "ssh-keyscan -H [IP OF YOUR DO SERVER]" in your repository as the secret "KNOWN_HOSTS" (learn more https://is.gd/edNByI)
# - make sure your droplet accepts the new key pair, run cat ~/.ssh/id_rsa_do.pub | ssh root@[IP OF YOUR DO SERVER] "cat >> ~/.ssh/authorized_keys" ( learn more https://is.gd/Ufjpvq)
# - to make builds faster, list dev only dependencies as devDependencies in package.json ( learn more https://is.gd/0spDMp )
# - add this file to your app, in the same folder as here (.github/workflows/main.yml)
# - change the last command of this script so that it finds your mup.js file
# Credits to https://github.com/renanlecaro

name: Deploy Meteor App to Server
on:
Expand Down
2 changes: 1 addition & 1 deletion deploy/mup.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
one: {
host: process.env.SSH_HOST,
username: process.env.SSH_USER,
pem: 'id_rsa_github_actor',
pem: '~/.ssh/id_rsa',
}
},

Expand Down

0 comments on commit ae7d08b

Please sign in to comment.