Changing order of steps in trigger job.

This commit is contained in:
2025-01-12 13:13:46 -05:00
parent 35491a1b83
commit d53db6f67d
+20 -20
View File
@@ -159,6 +159,26 @@ jobs:
needs: [generate-readme, docker-compose-test, regenerate-readme]
runs-on: ubuntu-latest
steps:
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_GOTIFY_TOKEN }}'
notification_title: 'Ready to Deploy'
notification_message: 'Ready to deploy: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/${{ github.job }}'
- name: Trigger Deployment
id: deploy-trigger
uses: macnev2013/manual-approval@v1.0.18
with:
secret: ${{ github.TOKEN }}
approvers: Trez.One
minimum-approvals: 1
approval-wait: 600
issue-title: 'Manual Approval for #${{ steps.pr_merge.outputs.pr_index }} - ${{ gitea.ref_name }}'
issue-body: |
"Autobots, roll out!"
- name: Install tea
uses: supplypike/setup-bin@v4
with:
@@ -182,26 +202,6 @@ jobs:
if [ "${pr_state}" == "merged" ]; then
break
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RINOA_GOTIFY_TOKEN }}'
notification_title: 'Ready to Deploy'
notification_message: 'Ready to deploy: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/${{ github.job }}'
- name: Trigger Deployment
id: deploy-trigger
uses: macnev2013/manual-approval@v1.0.18
with:
secret: ${{ github.TOKEN }}
approvers: Trez.One
minimum-approvals: 1
approval-wait: 600
issue-title: 'Manual Approval for #${{ steps.pr_merge.outputs.pr_index }} - ${{ gitea.ref_name }}'
issue-body: |
"Autobots, roll out!"
# docker-compose-deploy:
# name: Merge and Deploy
# runs-on: ubuntu-latest