diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 1392a77..587e274 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -2,10 +2,8 @@ name: Deploy to GitHub Pages on: - # Runs when a new release is created - release: - types: - - created + # Allows the workflow to be triggered from other workflows + workflow_call: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0446cea..75d32dd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,3 +34,5 @@ jobs: run: pnpm --filter "@skirtle/create-vue-lib" run build - name: Publish run: pnpm --filter "@skirtle/create-vue-lib" publish + docs: + uses: ./.github/workflows/pages.yml