mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 04:11:12 +00:00
Set up docker deploys. Fixes #4
This commit is contained in:
parent
edcffbbf4b
commit
1f4f912efa
2 changed files with 10 additions and 1 deletions
|
@ -15,7 +15,7 @@ COPY generate_translations.js \
|
||||||
webpack.config.js \
|
webpack.config.js \
|
||||||
.babelrc \
|
.babelrc \
|
||||||
.
|
.
|
||||||
COPY translations translations
|
COPY lemmy-translations lemmy-translations
|
||||||
COPY src src
|
COPY src src
|
||||||
|
|
||||||
RUN yarn
|
RUN yarn
|
||||||
|
|
9
deploy.sh
Executable file
9
deploy.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
new_tag="$1"
|
||||||
|
|
||||||
|
sudo docker build . --tag dessalines/lemmy-isomorphic-ui:$new_tag
|
||||||
|
sudo docker push dessalines/lemmy-isomorphic-ui:$new_tag
|
||||||
|
|
||||||
|
git tag $new_tag
|
||||||
|
git push origin $new_tag
|
Loading…
Reference in a new issue