Improve the documentation and bug fixes #3

Merged
dorian merged 13 commits from improve-docs into main 2024-02-24 20:41:15 -05:00
2 changed files with 7 additions and 10 deletions
Showing only changes of commit b5a2693119 - Show all commits

View File

@ -43,9 +43,9 @@ steps:
- code.birch-tree.net/dorian/mirror-server:build
depends_on:
- test
when:
ref:
- refs/tags/*
# when:
# ref:
# - refs/tags/*
- name: create-debian-package
image: code.birch-tree.net/dorian/mirror-server:build
@ -57,9 +57,9 @@ steps:
from_secret: gitea-release-password
depends_on:
- test
when:
ref:
- refs/tags/*
# when:
# ref:
# - refs/tags/*
image_pull_secrets:
- docker-config

View File

@ -19,7 +19,7 @@ RUN cargo build \
&& rm src/*.rs
# Bring in the source
COPY ["src", "./src/"]
COPY ["./src/*", "./src/"]
# Build the example API.
RUN cargo build --release
@ -31,8 +31,5 @@ ENV APP_NAME=mirror-server
ENV APP_HOME=/srv/${APP_NAME}
RUN apt update
RUN mkdir -p ${APP_HOME}
WORKDIR ${APP_HOME}
COPY --from=BUILD ${APP_HOME}/target/release/${APP_NAME} /usr/local/bin/
CMD ${APP_NAME}