Compare commits

..

2 commits
stable ... lts

2 changed files with 1 additions and 20 deletions

View file

@ -1,19 +0,0 @@
# Sync repo to the Codeberg mirror
name: Repo sync GitHub -> SVR.JS Git server
on:
push:
branches:
- '**'
jobs:
svrjsgit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: spyoungtech/mirror-action@v0.5.1
with:
REMOTE: "https://git.svrjs.org/svrjs/svrjs-docker.git"
GIT_USERNAME: github-mirror
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}

View file

@ -2,7 +2,7 @@ FROM devuan/devuan:stable
RUN apt update
RUN apt install -y curl
RUN curl -fsSL https://downloads.svrjs.org/installer/svr.js.installer.linux.20240509.sh > /tmp/installer.sh
RUN echo "#!/bin/bash" > /tmp/confirm.sh; echo "echo 0" >> /tmp/confirm.sh; echo "yes" >> /tmp/confirm.sh
RUN echo "#!/bin/bash" > /tmp/confirm.sh; echo "echo 1" >> /tmp/confirm.sh; echo "yes" >> /tmp/confirm.sh
RUN chmod +x /tmp/confirm.sh
RUN /tmp/confirm.sh | bash /tmp/installer.sh
RUN rm /tmp/*