mirror of
https://github.com/minoplhy/deployment.git
synced 2025-04-21 18:46:57 +00:00
nginx-build.yaml: attempt 1
This commit is contained in:
parent
af07eed7bc
commit
184a972494
13
.github/workflows/nginx-build.yaml
vendored
13
.github/workflows/nginx-build.yaml
vendored
@ -19,6 +19,13 @@ jobs:
|
||||
echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV
|
||||
echo "NGINX_TAG=${NGINX_TAG}"
|
||||
|
||||
# - name: Run Nginx Build
|
||||
# run: |
|
||||
# curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag={$Nginx_Tag}
|
||||
- name: Run Nginx Build
|
||||
run: |
|
||||
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag={$NGINX_TAG} -nl -nm
|
||||
tar czvf nginx-${NGINX_TAG}.tar.gz ~/nginx_scriptbox/nginx/objs
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: nginx-${NGINX_TAG}.tar.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user