Fix github context reference in workflow (#1548)

Ensure references to the github context are correct.
This commit is contained in:
Darragh Bailey
2022-08-17 12:23:19 +01:00
committed by GitHub
parent 63d265d9ca
commit 06fd99fcef

View File

@@ -20,7 +20,7 @@ jobs:
ruby-version: 2.6 ruby-version: 2.6
- name: Install and Build 🔧 - name: Install and Build 🔧
run: | run: |
VERSION={{ github.ref_name }} VERSION=${{ github.ref_name }}
REPO_NAME=$(jq -r ".repository.name" "$GITHUB_EVENT_PATH") REPO_NAME=$(jq -r ".repository.name" "$GITHUB_EVENT_PATH")
# TODO find a way for jekyll to perform this automatically # TODO find a way for jekyll to perform this automatically
@@ -40,7 +40,7 @@ jobs:
folder: build folder: build
clean: true clean: true
force: false force: false
target-folder: version/{{ github.ref_name }} target-folder: version/${{ github.ref_name }}
clean-exclude: | clean-exclude: |
pr-preview/ pr-preview/
version/ version/