fix: github action error
This commit is contained in:
parent
18fafd7c95
commit
f1c62676c5
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
|
|
@ -99,7 +99,7 @@ jobs:
|
||||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Optional: Switch what branch you are publishing to.
|
# Optional: Switch what branch you are publishing to.
|
||||||
# By default this will be the branch which triggered this workflow
|
# By default this will be the branch which triggered this workflow
|
||||||
branch: ${{ if eq(github.ref, 'refs/heads/dev') }}dev{{ else }}refs/pull/${{ github.event.number }}/merge{{ endif }}
|
branch: ${{ github.ref == 'refs/heads/dev' && 'dev' || format('refs/pull/{0}/merge', github.event.number) }}
|
||||||
# Optional: Change the working directory
|
# Optional: Change the working directory
|
||||||
workingDirectory: apps/www
|
workingDirectory: apps/www
|
||||||
wranglerVersion: '3'
|
wranglerVersion: '3'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user