fix discord
continuous-integration/drone Build is failing Details

This commit is contained in:
Philipp 2022-04-21 01:09:45 +02:00
parent d2a182ed9b
commit 73a3e7336f
Signed by: Gitea
GPG Key ID: 5A09F9506519E10A
1 changed files with 3 additions and 1 deletions

View File

@ -18,13 +18,15 @@ RUN \
&& unzip -o nativevotes.zip -d "${SERVER_DIR}/tf/" \
&& tar xf advertisements.tar.gz -C "${SERVER_DIR}/tf/" \
&& tar xf SteamWorks.tar.gz -C "${SERVER_DIR}/tf/" \
&& unzip -o discord.zip -d "${SERVER_DIR}/tf/addons/" \
&& unzip -o discord.zip -d "${SERVER_DIR}/tf/addons/sourcemod/" \
&& mv "${SERVER_DIR}/tf/addons/sourcemod/Discord-master/*" "${SERVER_DIR}/tf/addons/sourcemod/"
&& mv soapbalancer.smx "${SERVER_DIR}/tf/addons/sourcemod/plugins/soapbalancer.smx" \
&& unzip -o socket.zip -d "${SERVER_DIR}/tf/" \
&& tar xf sourcebans.tar.gz -C "${SERVER_DIR}/tf/" \
# clean everything up
&& rm system2.zip stac.zip nativevotes.zip advertisements.tar.gz SteamWorks.tar.gz discord.zip socket.zip sourcebans.tar.gz \
&& rm "${SERVER_DIR}/tf/addons/sourcemod/plugins/admin-flatfile.smx"
&& rm "${SERVER_DIR}/tf/addons/sourcemod/Discord-master"
COPY server.cfg.template "${SERVER_DIR}/tf/cfg/server.cfg.template"
COPY mapcycle.txt "${SERVER_DIR}/tf/cfg/mapcycle.txt"