From 967d36658ff7a87dcb59f5122a11cdae97d779ef Mon Sep 17 00:00:00 2001 From: roggervalf Date: Thu, 6 Jul 2023 09:59:41 -0500 Subject: [PATCH] ci(api): use checkout ref to change branch --- .github/workflows/api.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 4ffa6771cd..984e061ce4 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -21,11 +21,13 @@ jobs: - name: yarn install run: | yarn install + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 + with: + ref: docs-api - name: build run: | git config --global user.email "manast@taskforce.sh" git config --global user.name "manast" - git checkout docs-api git merge master --no-commit yarn pretest yarn docs:json