Compare commits

...

3 commits
lts ... stable

Author SHA1 Message Date
Dorian Niemiec
745ead295d
Update main.yml 2024-06-22 09:18:27 +02:00
Dorian Niemiec
d22920aa4a
Create main.yml 2024-05-18 12:03:08 +02:00
a8cdf55eae Update SVR.JS installer command 2024-05-09 16:53:47 +02:00
2 changed files with 20 additions and 1 deletions

19
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,19 @@
# 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

@ -1,7 +1,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.20240506.sh > /tmp/installer.sh
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 chmod +x /tmp/confirm.sh
RUN /tmp/confirm.sh | bash /tmp/installer.sh