mirror of
https://github.com/minoplhy/deployment.git
synced 2025-04-21 10:46:56 +00:00
want to try something out :)
This commit is contained in:
commit
af07eed7bc
24
.github/workflows/nginx-build.yaml
vendored
Normal file
24
.github/workflows/nginx-build.yaml
vendored
Normal file
@ -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}
|
Loading…
x
Reference in New Issue
Block a user