Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .github/workflows/clean-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,16 @@ jobs:
- name: Output date
id: output-date
run: echo "date=$(date -u)" >> $GITHUB_OUTPUT
# - name: Maintain comment
# uses: actions-cool/maintain-one-comment@v3
# if: github.event_name != 'workflow_dispatch'
# with:
# body: |
# [${{ steps.output-date.outputs.date }}] - Deleted deployment
# body-include: '<!-- Created by actions-cool/maintain-one-comment -->'
# update-mode: 'append'
- name: Find Comment
uses: peter-evans/find-comment@v3
id: fc
with:
issue-number: ${{ steps.build-info.outputs.deploy_path }}
comment-author: 'github-actions[bot]'
body-includes: Deployed
- name: Create or update comment
uses: peter-evans/create-or-update-comment@v5
with:
issue-number: ${{ steps.build-info.outputs.deploy_path }}
body: |
[${{ steps.output-date.outputs.date }}] - Deleted deployment
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
Comment thread
nguyentvan7 marked this conversation as resolved.
Resolved
25 changes: 15 additions & 10 deletions .github/workflows/deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,18 @@ jobs:
run: echo "date=$(date -u)" >> $GITHUB_OUTPUT
- name: Log Info
run: echo "[${{ steps.vars.outputs.frontend_name }}] [${{ steps.output-date2.outputs.date }}] - ${{ steps.export-url.outputs.url }}"
# - name: Maintain comment
# uses: actions-cool/maintain-one-comment@v3
# if: ${{ steps.vars.outputs.deployment_name != 'beta' }}
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# number: ${{ steps.vars.outputs.deployment_name }}
# body: |
# [${{ steps.vars.outputs.frontend_name }}] [${{ steps.output-date2.outputs.date }}] - ${{ steps.export-url.outputs.url }}
# body-include: '<!-- Created by actions-cool/maintain-one-comment -->'
# update-mode: 'append'
- name: Find Comment
uses: peter-evans/find-comment@v3
id: fc
if: ${{ steps.vars.outputs.deployment_name != 'beta' }}
with:
issue-number: ${{ steps.vars.outputs.deployment_name }}
comment-author: 'github-actions[bot]'
body-includes: Deployed
- name: Create or update comment
uses: peter-evans/create-or-update-comment@v5
if: ${{ steps.vars.outputs.deployment_name != 'beta' }}
with:
issue-number: ${{ steps.vars.outputs.deployment_name }}
body: |
[${{ steps.vars.outputs.frontend_name }}] [${{ steps.output-date2.outputs.date }}] - ${{ steps.export-url.outputs.url }}
25 changes: 15 additions & 10 deletions .github/workflows/deploy-somnia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,18 @@ jobs:
- name: Output date
id: output-date
run: echo "date=$(date -u)" >> $GITHUB_OUTPUT
# - name: Maintain comment
# uses: actions-cool/maintain-one-comment@v3
# if: ${{ needs.set-env.outputs.prNumber != '' }}
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# number: ${{ needs.set-env.outputs.prNumber }}
# body: |
# [${{ needs.set-env.outputs.env }}] [${{ steps.output-date.outputs.date }}] - Deployed ${{ needs.set-env.outputs.ref }} to ${{ needs.set-env.outputs.env }}" >> $GITHUB_OUTPUT
# body-include: '<!-- Created by actions-cool/maintain-one-comment -->'
# update-mode: 'append'
- name: Find Comment
uses: peter-evans/find-comment@v3
id: fc
if: ${{ needs.set-env.outputs.prNumber != '' }}
with:
issue-number: ${{ needs.set-env.outputs.prNumber }}
comment-author: 'github-actions[bot]'
body-includes: Deployed
- name: Create or update comment
uses: peter-evans/create-or-update-comment@v5
if: ${{ needs.set-env.outputs.prNumber != '' }}
Comment thread
nguyentvan7 marked this conversation as resolved.
Resolved
with:
issue-number: ${{ needs.set-env.outputs.prNumber }}
body: |
[${{ needs.set-env.outputs.env }}] [${{ steps.output-date.outputs.date }}] - Deployed ${{ needs.set-env.outputs.ref }} to ${{ needs.set-env.outputs.env }}" >> $GITHUB_OUTPUT
Comment thread
nguyentvan7 marked this conversation as resolved.
Resolved
Loading