Skip to content

Commit c6913bd

Browse files
committed
refactor: deploy
1 parent 977b0c7 commit c6913bd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<!--
2+
👋 Hi, thanks for sending a PR! 💖.
3+
If you want to test your changes in the preview environment, write `/deploy` in a comment.
4+
-->

.github/workflows/pull-request-commands.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
pullRequestNumber: ${{ github.event.issue.number }}
2424

2525
pre-deploy:
26-
# check if the comment comes from a pull request and contains the required keyword
26+
# check if the comment comes from a pull request and contains the command `/deploy`
2727
if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/deploy')
2828
runs-on: ubuntu-latest
2929
steps:
@@ -33,7 +33,7 @@ jobs:
3333
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
3535
deploy:
36-
# check if the comment comes from a pull request and contains the required keyword
36+
# check if the comment comes from a pull request and contains the command `/deploy`
3737
if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/deploy')
3838
needs: [get-pr-branch-name, pre-deploy]
3939
uses: ./.github/workflows/util-build-and-deploy.yaml

0 commit comments

Comments
 (0)