Browse Source

fix: release-pr indentation

pull/1892/head
Wing-Kam Wong 2 years ago
parent
commit
4c8107f22e
  1. 37
      .github/workflows/release-pr.yml

37
.github/workflows/release-pr.yml

@ -2,16 +2,15 @@ name: 'PR Release'
on:
pull_request:
types: [
opened, # pull request is created
reopened, # closed pull request is reopened
synchronize # commit(s) pushed to the pull request
]
paths:
- "packages/nocodb-sdk/**"
- "packages/nc-gui/**"
- "packages/nc-plugin/**"
- "packages/nocodb/**"
# opened: pull request is created
# reopened: closed pull request is reopened
# synchronize: commit(s) pushed to the pull request
types: [opened, reopened, synchronize]
paths:
- "packages/nocodb-sdk/**"
- "packages/nc-gui/**"
- "packages/nc-plugin/**"
- "packages/nocodb/**"
jobs:
# Validate Branch
validate-branch:
@ -73,18 +72,20 @@ jobs:
DOCKERHUB_TOKEN: "${{ secrets.DOCKERHUB_TOKEN }}"
leave-comment:
runs-on: 'ubuntu-latest'
needs: [release-docker, set-tag]
uses: peter-evans/commit-comment@v2
with:
body: |
The PR changes have been deployed. Pleae run the following command to verify:
```
docker run -d -p 8888:8080 nocodb-timely:${{ needs.set-tag.outputs.current_version }}-${{ needs.set-tag.outputs.target_tag }}
```
steps:
- uses: peter-evans/commit-comment@v2
with:
body: |
The PR changes have been deployed. Pleae run the following command to verify:
```
docker run -d -p 8888:8080 nocodb-timely:${{ needs.set-tag.outputs.current_version }}-${{ needs.set-tag.outputs.target_tag }}
```
# if-merged:
# if: github.event.pull_request.merged == true
# runs-on: ubuntu-latest
# steps:
# - run: |
# echo The PR was merged
# echo The PR was merged

Loading…
Cancel
Save