Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
RAJlab
RAJsat4
Commits
81c7142b
Verified
Commit
81c7142b
authored
Apr 06, 2017
by
RAJsat bot
Committed by
Isabella Skořepová
Apr 06, 2017
Browse files
Přidány synchronizační soubory
parent
ba48bdcb
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
81c7142b
megasync
:
script
:
-
HW/download_from_mega.sh $EMAIL $PASSWORD
-
touch sshkey
-
chmod 600 sshkey
-
echo "$KEY" > sshkey
-
GIT_SSH_COMMAND="ssh -i sshkey" git push git@git.ok1kvk.cz:RybkaLabs/RAJsat4.git HEAD:master
-
rm sshkey
only
:
-
master
when
:
manual
HW/download_from_mega.sh
View file @
81c7142b
...
...
@@ -4,16 +4,16 @@ cd "$( dirname "${BASH_SOURCE[0]}" )"
EMAIL
=
$1
PASSWORD
=
$2
P
=
/Root/_Projekty/CanSAT_2017/RAJsat4/HW
P
=
/Root/_Projekty/CanSAT_2017/RAJsat4/HW
/
MEGAGET
=
"megaget -u
$EMAIL
-p
$PASSWORD
--reload"
function
dwn
()
{
rm
-f
$1
.brd
$1
.sch
$MEGAGET
$1$2
.brd
$MEGAGET
$P
$1$2
.brd
mv
$1$2
.brd
$1
.brd
$MEGAGET
$1$2
.sch
$MEGAGET
$P
$1$2
.sch
mv
$1$2
.sch
$1
.sch
if
[
!
-f
$1
.brd
]
;
then
git checkout
$1
.brd
;
fi
...
...
@@ -30,6 +30,6 @@ dwn SolarPanel_A _v4.0
dwn SolarPanel_B _v4.0
git add
.
git commit
-am
"Synchronizovány soubory z MEGY"
git commit
-am
"Synchronizovány soubory z MEGY"
--author
"RAJsat bot <bot@rajsat.cz>"
cd
..
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment