|
|
@ -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,14 +72,16 @@ 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 |
|
|
|