Skip to content

Commit

Permalink
ci: try to set rules for refs
Browse files Browse the repository at this point in the history
  • Loading branch information
vvssttkk committed Jul 11, 2022
1 parent e4786db commit b67053e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:

steps:
- name: checkout to `web-page-master`
if: github.ref == 'master'
if: github.ref_name == 'master'
uses: actions/checkout@v3
with:
ref: web-page-master

- name: checkout to `web-page-stage`
if: github.ref != 'master'
if: github.ref_name != 'master'
uses: actions/checkout@v3
with:
ref: web-page-stage
Expand Down

0 comments on commit b67053e

Please sign in to comment.