From af07eed7bcc07b18c4773e53739e0ee2bacb36f7 Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Wed, 4 Sep 2024 14:37:23 +0000 Subject: [PATCH] want to try something out :) --- .github/workflows/nginx-build.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/nginx-build.yaml diff --git a/.github/workflows/nginx-build.yaml b/.github/workflows/nginx-build.yaml new file mode 100644 index 0000000..bdc33d4 --- /dev/null +++ b/.github/workflows/nginx-build.yaml @@ -0,0 +1,24 @@ +name: Nginx Mega Build +run-name: Nginx Build +on: + push: + tags: + - nginx-* +jobs: + build_nginx: + runs-on: [ubuntu-latest] + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up environment variables + run: | + TAG_NAME=${GITHUB_REF##*/} + NGINX_TAG=${TAG_NAME#nginx-} + + 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}