Browse Source

fix: release-pr indentation

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

Loading…
Cancel
Save