From 4ed3242e241d10564ad3801b7fa3f249307b00b4 Mon Sep 17 00:00:00 2001 From: plocket <52798256+plocket@users.noreply.github.com> Date: Fri, 18 Aug 2023 09:00:55 -0400 Subject: [PATCH] Try different var syntax --- .github/workflows/github_server.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github_server.yml b/.github/workflows/github_server.yml index 825b0399..9bd3f3b1 100644 --- a/.github/workflows/github_server.yml +++ b/.github/workflows/github_server.yml @@ -33,12 +33,12 @@ jobs: SECRET_VAR1: secret-var1-value SECRET_VAR2: secret-var2-value SECRET_FOR_MISSING_FIELD: secret for missing field + BRANCH: ${{ github.ref }} steps: - - run: echo "tags are ${{ github.event.inputs.tags }}" - uses: actions/checkout@v3 - name: Setup tmate session - if: ${{ inputs.enable_tmate == "true" }} + if: ${{ inputs.enable_tmate }} uses: mxschmitt/action-tmate@v3 with: detached: true @@ -46,7 +46,7 @@ jobs: id: github_server # TODO: Research how to get this to always be the same branch we're on # Would ${{ ref or whatever }} work? - uses: SuffolkLITLab/ALKiln/github_server@${{ github.ref }} + uses: SuffolkLITLab/ALKiln/github_server@$BRANCH with: CONFIG_CONTENTS: "${{ secrets.CONFIG_CONTENTS }}" # @@ -55,7 +55,7 @@ jobs: if: ${{ success() }} # TODO: Research how to get this to always be the same branch we're on # Would ${{ ref or whatever }} work? - uses: SuffolkLITLab/ALKiln@${{ github.ref }} + uses: SuffolkLITLab/ALKiln@$BRANCH with: SERVER_URL: "${{ steps.github_server.outputs.SERVER_URL }}" DOCASSEMBLE_DEVELOPER_API_KEY: "${{ steps.github_server.outputs.DOCASSEMBLE_DEVELOPER_API_KEY }}"