Merge pull request #28432 from backstage/canon-fix-sync-flow
Canon - Fix Github action to deploy Canon website
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user