Skip to content

Commit e387f71

Browse files
committed
ci: ready for prod 🚀
1 parent 714d55d commit e387f71

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/run
33
.idea
44
config.toml
5+
/work

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ COPY . .
3636

3737
RUN cargo install --path .
3838

39-
CMD ["bin_patch_gen", "-v", "1.21.3"]
39+
CMD ["bin_patch_gen"]

update.sh

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ if docker container inspect sploon-bin-patch-gen > /dev/null 2>&1; then
1717
# git shit
1818
cd work || exit 1
1919
[[ ! -d ".git" ]] && git init .
20+
git remote remove origin
21+
git remote add origin https://github.com/SploonMC/patches.git
2022
git add .
2123
git commit -am "automated update"
2224
git push -u origin master

0 commit comments

Comments
 (0)