Commit f10bbd1a authored by 神楽坂玲奈's avatar 神楽坂玲奈

use ssh git protocol

parent 0de9527d
[submodule "magicseteditor"]
path = magicseteditor
url = https://github.com/mycard/magicseteditor.git
url = git@github.com:mycard/magicseteditor.git
branch = win32
[submodule "ygopro-images-raw"]
path = ygopro-images-raw
url = https://github.com/mycard/ygopro-images-raw.git
url = git@github.com:mycard/ygopro-images-raw.git
[submodule "ygopro-database"]
path = ygopro-database
url = https://github.com/mycard/ygopro-database.git
branch = build
url = git@github.com:mycard/ygopro-database.git
[submodule "ygopro-images"]
path = ygopro-images
url = https://github.com/mycard/ygopro-images.git
url = git@github.com:mycard/ygopro-images.git
......@@ -14,6 +14,7 @@ RUN bundle install
RUN git config --global user.email "zh99998+mycard@gmail.com"
RUN git config --global user.name "mycard"
RUN git config --global push.default simple
RUN ssh-keyscan github.com > /etc/ssh/ssh_known_hosts
ENV WINEARCH=win32
ENV RACK_ENV=production
......@@ -21,4 +22,4 @@ RUN wineboot -i
COPY magicseteditor/fonts /root/.wine/drive_c/windows/Fonts
COPY . /usr/src/app
CMD ["./entrypoint.sh"]
CMD xvfb-run --server-args="-screen 0 1x0x24" ./Server.rb
#!/bin/bash
echo "machine github.com login ${GITHUB_USERNAME} password ${GITHUB_PASSWORD}" > ~/.netrc
chmod 600 ~/.netrc
xvfb-run --server-args="-screen 0 1x0x24" ./Server.rb
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment