Skip to content

Commit

Permalink
Try different var syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
plocket committed Aug 18, 2023
1 parent 215abb0 commit 4ed3242
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/github_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ 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
- name: Start the temporary GitHub server
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 }}"
#
Expand All @@ -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 }}"
Expand Down

0 comments on commit 4ed3242

Please sign in to comment.