Skip to content

Commit

Permalink
fix: fixes linking of version within the navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
claymcleod committed Jan 31, 2021
1 parent 19cbfcf commit 61b663b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,10 @@ jobs:
- uses: actions/download-artifact@v2
with:
name: version-file
path: ./VERSION
path: .
- name: Run Build
run: |
echo "Building site for version $VERSION"
npm install
ls -R
ls -R ARTIFACT
GATSBY_DOCS_VERSION=$(cat ./VERSION) GATSBY_DOCS_HASH=$(git rev-parse --short "$GITHUB_SHA") npm run build
env:
GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES: true
Expand All @@ -105,7 +102,7 @@ jobs:
GATSBY_ALGOLIA_APP_ID: ${{ secrets.GATSBY_ALGOLIA_APP_ID }}
GATSBY_ALGOLIA_SEARCH_KEY: ${{ secrets.GATSBY_ALGOLIA_SEARCH_KEY }}
INTERCOM_APP_ID: ${{ secrets.INTERCOM_APP_ID }}
- name: Upload built site
- name: Upload Built Site
uses: actions/upload-artifact@v2
with:
name: gatsby-public-folder
Expand Down

1 comment on commit 61b663b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.