Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
|
745ead295d | ||
|
d22920aa4a | ||
a8cdf55eae |
2 changed files with 20 additions and 1 deletions
19
.github/workflows/main.yml
vendored
Normal file
19
.github/workflows/main.yml
vendored
Normal 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 }}
|
|
@ -1,7 +1,7 @@
|
||||||
FROM devuan/devuan:stable
|
FROM devuan/devuan:stable
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install -y curl
|
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 echo "#!/bin/bash" > /tmp/confirm.sh; echo "echo 0" >> /tmp/confirm.sh; echo "yes" >> /tmp/confirm.sh
|
||||||
RUN chmod +x /tmp/confirm.sh
|
RUN chmod +x /tmp/confirm.sh
|
||||||
RUN /tmp/confirm.sh | bash /tmp/installer.sh
|
RUN /tmp/confirm.sh | bash /tmp/installer.sh
|
||||||
|
|
Loading…
Reference in a new issue