mirror of
https://github.com/minoplhy/deployment.git
synced 2025-04-21 18:46:57 +00:00
test: remove case statement
This commit is contained in:
parent
c95ac299f6
commit
6451c7045d
12
.github/workflows/alpine-nginx-build.yaml
vendored
12
.github/workflows/alpine-nginx-build.yaml
vendored
@ -43,18 +43,6 @@ jobs:
|
|||||||
|
|
||||||
# Prepare tar file paths
|
# Prepare tar file paths
|
||||||
HOMEDIRECTORY=~/nginx_scriptbox
|
HOMEDIRECTORY=~/nginx_scriptbox
|
||||||
TAR_PATH="$HOMEDIRECTORY/nginx/objs" # Base Path
|
|
||||||
case "${TAGS[$i]}" in
|
|
||||||
"allstar")
|
|
||||||
TAR_PATH="$TAR_PATH /opt/nginx-lua-module /usr/local/lua /usr/local/modsecurity"
|
|
||||||
;;
|
|
||||||
"lua")
|
|
||||||
TAR_PATH="$TAR_PATH /opt/nginx-lua-module /usr/local/lua"
|
|
||||||
;;
|
|
||||||
"modsecurity")
|
|
||||||
TAR_PATH="$TAR_PATH /usr/local/modsecurity"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Create the tarball
|
# Create the tarball
|
||||||
tar czvf alpine-nginx-${NGINX_TAG}-${TAGS[$i]}.tar.gz $TAR_PATH
|
tar czvf alpine-nginx-${NGINX_TAG}-${TAGS[$i]}.tar.gz $TAR_PATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user