mirror of
https://github.com/minoplhy/deployment.git
synced 2025-04-21 18:46:57 +00:00
nginx-build.yaml: add lua and modsecurity
This commit is contained in:
parent
4efa7a5c56
commit
85ec5234c8
12
.github/workflows/nginx-build.yaml
vendored
12
.github/workflows/nginx-build.yaml
vendored
@ -31,6 +31,18 @@ jobs:
|
|||||||
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG}
|
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG}
|
||||||
tar czvf nginx-${NGINX_TAG}-allstar.tar.gz ~/nginx_scriptbox/nginx/objs /opt/nginx-lua-module /usr/local/lua /usr/local/modsecurity
|
tar czvf nginx-${NGINX_TAG}-allstar.tar.gz ~/nginx_scriptbox/nginx/objs /opt/nginx-lua-module /usr/local/lua /usr/local/modsecurity
|
||||||
|
|
||||||
|
- name: Run Nginx Build (Lua)
|
||||||
|
run: |
|
||||||
|
echo "This Task will be run using the following tag: ${NGINX_TAG}"
|
||||||
|
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} --no-modsecurity
|
||||||
|
tar czvf nginx-${NGINX_TAG}-lua.tar.gz ~/nginx_scriptbox/nginx/objs /opt/nginx-lua-module /usr/local/lua
|
||||||
|
|
||||||
|
- name: Run Nginx Build (ModSecurity)
|
||||||
|
run: |
|
||||||
|
echo "This Task will be run using the following tag: ${NGINX_TAG}"
|
||||||
|
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} --no-lua
|
||||||
|
tar czvf nginx-${NGINX_TAG}-modsecurity.tar.gz ~/nginx_scriptbox/nginx/objs /usr/local/modsecurity
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user