From 8c76c3823d22a048cbf93b57b8c6b9b8d18c1329 Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Fri, 10 Jan 2025 12:48:14 +0000 Subject: [PATCH] Update sync_canon.yml Signed-off-by: Charles de Dreuille --- .github/workflows/sync_canon.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync_canon.yml b/.github/workflows/sync_canon.yml index e630a418d4..a45e8d115c 100644 --- a/.github/workflows/sync_canon.yml +++ b/.github/workflows/sync_canon.yml @@ -4,7 +4,7 @@ on: branches: [master] jobs: - sync-canon-storybook: + sync-canon-docs: runs-on: ubuntu-latest steps: - name: Harden Runner @@ -26,10 +26,10 @@ jobs: with: cache-prefix: ${{ runner.os }}-v20.x - - name: Checkout backstage/canon-storybook + - name: Checkout backstage/canon-docs uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - repository: backstage/canon-storybook + repository: backstage/canon-docs path: canon-external-docs token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }} @@ -38,6 +38,10 @@ jobs: git config --global user.email noreply@backstage.io git config --global user.name 'Github Canon Docs workflow' + - name: Install dependencies + working-directory: canon-docs + run: yarn install + - name: Build Canon Docs working-directory: canon-docs run: |