This commit is contained in:
2025-01-03 15:12:46 -05:00
parent 5be2d091df
commit e1c0b9fb44
+29 -26
View File
@@ -101,35 +101,38 @@ jobs:
- name: Create Missing Subdomains
if: steps.compare-subdomains.outputs.output != ''
run: |
cat domain_compare.txt | egrep '^-[a-z]'
cat domain_compare.txt | egrep '^-[a-z]' | sed -e 's|-||g' | while read -r subdomain; do
echo "Creating $subdomain.trez.wtf..."
flarectl dns create --zone "trez.wtf" --name "${subdomain}" --type=CNAME --content "trez.wtf"
done
# merge-pr:
# name: PR Merge
# runs-on: ubuntu-latest
# needs: [cloudflare-dns-setup]
# steps:
# - name: Checkout
# uses: actions/checkout@v4
merge-pr:
name: PR Merge
runs-on: ubuntu-latest
needs: [cloudflare-dns-setup]
steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Send Gotify Notification
# uses: eikendev/gotify-action@0.0.3
# with:
# gotify_api_base: '${{ secrets.GOTIFY_URL }}'
# gotify_app_token: '${{ secrets.GOTIFY_TOKEN }}'
# notification_title: '${{ github.ref_name }} ready to be merged.'
# notification_message: '${{ gitea.server_url }}/issues'
- name: Send Gotify Notification
uses: eikendev/gotify-action@0.0.3
with:
gotify_api_base: '${{ secrets.GOTIFY_URL }}'
gotify_app_token: '${{ secrets.GOTIFY_TOKEN }}'
notification_title: '${{ github.ref_name }} ready to be merged.'
notification_message: '${{ gitea.server_url }}/issues'
# - name: Manual Approval
# uses: trstringer/manual-approval@v1
# with:
# secret: ${{ secrets.BOT_GITEA_TOKEN }}
# approvers: Trez.One
# minimum-approvals: 1
# issue-title: "Deployment of ${{ github.ref_name }}"
# issue-body: "Autobots, roll out!"
# exclude-workflow-initiator-as-approver: false
# additional-approved-words: ''
# additional-denied-words: ''
- name: Manual Approval
uses: trstringer/manual-approval@v1
with:
secret: ${{ secrets.BOT_GITEA_TOKEN }}
approvers: Trez.One
minimum-approvals: 1
issue-title: "Deployment of ${{ github.ref_name }}"
issue-body: "Autobots, roll out!"
exclude-workflow-initiator-as-approver: false
additional-approved-words: ''
additional-denied-words: ''
# - name: Tea CLI Setup & PR Merge
# run: |