Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
e3d3e2b34b | |||
27e6b15f78 |
2 changed files with 1 additions and 20 deletions
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
|
@ -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 }}
|
|
@ -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/*
|
||||
|
|
Loading…
Reference in a new issue