From bea4e67021efc970a65810a8c325304a772d95d5 Mon Sep 17 00:00:00 2001 From: Sergio <77530549+sergi0g@users.noreply.github.com> Date: Wed, 17 Jul 2024 14:32:19 +0300 Subject: [PATCH] Add manual trigger to docs workflow --- .github/workflows/docs.yml | 39 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a3235a0..c3871ba 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,23 +2,24 @@ name: Deploy github pages on: push: paths: - - 'docs/**' + - "docs/**" + workflow_dispatch: jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: latest - - run: cd docs/ - - name: Install dependencies - run: pnpm install - - name: Build - run: pnpm build - - name: Publish - uses: actions/upload-pages-artifact@v3 - with: - path: out/ \ No newline at end of file + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: latest + - run: cd docs/ + - name: Install dependencies + run: pnpm install + - name: Build + run: pnpm build + - name: Publish + uses: actions/upload-pages-artifact@v3 + with: + path: out/