Skip to content

Commit

Permalink
ci(api): use checkout ref to change branch
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Jul 6, 2023
1 parent 6303148 commit 967d366
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 967d366

Please sign in to comment.