Fix CI
This commit is contained in:
5
.github/workflows/ci-server.yaml
vendored
5
.github/workflows/ci-server.yaml
vendored
@ -9,8 +9,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
if: github.head_ref == 'main'
|
||||
with:
|
||||
ref: ${{ github.head_ref || github.ref_name }}
|
||||
- uses: actions/checkout@v3
|
||||
if: github.head_ref != 'main'
|
||||
with:
|
||||
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user