Skip to content

Commit

Permalink
chore: checkout correct branch before build
Browse files Browse the repository at this point in the history
  • Loading branch information
stigbd committed Sep 22, 2022
1 parent b76d56a commit 01b5237
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/adocs-build-and-publish-v1-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
name: asciidoctor build

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout v1 branch
uses: actions/checkout@v3
with:
ref: v1

- name: Build html
id: adocbuild
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/adocs-build-and-publish-v1-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
name: asciidoctor build

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout v1 branch
uses: actions/checkout@v3
with:
ref: v1

- name: Build html
id: adocbuild
Expand Down

0 comments on commit 01b5237

Please sign in to comment.