From ebd6718f04baf7091c6b56556a0891ea663c5de3 Mon Sep 17 00:00:00 2001 From: Rodolfo Berrios Date: Sun, 13 Jun 2021 15:32:38 -0400 Subject: [PATCH] adds custom app param --- .github/workflows/httpd-php.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/httpd-php.yml b/.github/workflows/httpd-php.yml index eedbbc5..db28687 100644 --- a/.github/workflows/httpd-php.yml +++ b/.github/workflows/httpd-php.yml @@ -1,6 +1,11 @@ name: Build httpd-php on: workflow_dispatch: + inputs: + useCustomApp: + description: 'Use REPO_APP?' + required: false + default: '0' jobs: build: @@ -12,8 +17,9 @@ jobs: - name: Checkout custom application env: - USE_CUSTOM_APP: ${{ secrets.REPO_APP }} - if: env.USE_CUSTOM_APP != null + REPO_CUSTOM_APP: ${{ secrets.REPO_APP }} + USE_CUSTOM_APP: ${{ github.event.inputs.useCustomApp }} + if: env.REPO_CUSTOM_APP != null && env.USE_CUSTOM_APP > 0 uses: actions/checkout@v2 with: repository: ${{ secrets.REPO_APP }}