-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcopy-to-ec2.sh
More file actions
20 lines (16 loc) 路 1.06 KB
/
Copy pathcopy-to-ec2.sh
File metadata and controls
20 lines (16 loc) 路 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
scp -i /c/_wiki-bot/ec2-wiki-bot-keypair.pem \
./target/wiki-telegram-bot-1.0-SNAPSHOT-jar-with-dependencies.jar \
ec2-user@ec2-3-75-96-233.eu-central-1.compute.amazonaws.com:/home/ec2-user/wiki-bot/wiki-telegram-bot-1.0-SNAPSHOT-jar-with-dependencies.jar
scp -i /c/_wiki-bot/ec2-wiki-bot-keypair.pem \
./src/main/resources/log4j2-ec2.xml \
ec2-user@ec2-3-75-96-233.eu-central-1.compute.amazonaws.com:/home/ec2-user/wiki-bot/log4j2-ec2.xml
scp -i /c/_wiki-bot/ec2-wiki-bot-keypair.pem \
./src/main/resources/run-ec2.sh \
ec2-user@ec2-3-75-96-233.eu-central-1.compute.amazonaws.com:/home/ec2-user/wiki-bot/run-ec2.sh
scp -i /c/_wiki-bot/ec2-wiki-bot-keypair.pem \
./.ignoreme/wiki-bot-config-prod.json \
ec2-user@ec2-3-75-96-233.eu-central-1.compute.amazonaws.com:/home/ec2-user/wiki-bot/wiki-bot-config-prod.json
# copy my test bot config
#scp -i /c/_wiki-bot/ec2-wiki-bot-keypair.pem \
# ./.ignoreme/wiki-bot-config-test-MY-TEST-BOT-WITH-NOTION.json \
# ec2-user@ec2-3-75-96-233.eu-central-1.compute.amazonaws.com:/home/ec2-user/wiki-bot/wiki-bot-config-prod.json