Skip to content

Commit

Permalink
debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xumi1993 committed Feb 29, 2024
1 parent 866ba92 commit 5b6b908
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/doc_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Set branch name
id: vars
run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
branch = ${{ github.event.pull_request.head.ref }}
echo ::set-output name=branch::${{ github.event.pull_request.head.ref }}
else
branch = dev
echo ::set-output name=branch::${{ github.ref }}
fi
- name: Cancel Previous Runs
Expand All @@ -42,7 +43,7 @@ jobs:
- name: Checkout to source branch
uses: actions/[email protected]
with:
ref: $branch
ref: ${{ steps.vars.outputs.branch }}

- name: Install Seispy
run: |
Expand Down

0 comments on commit 5b6b908

Please sign in to comment.