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 - name: Create Missing Subdomains
if: steps.compare-subdomains.outputs.output != '' if: steps.compare-subdomains.outputs.output != ''
run: | 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: merge-pr:
# name: PR Merge name: PR Merge
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: [cloudflare-dns-setup] needs: [cloudflare-dns-setup]
# steps: steps:
# - name: Checkout - name: Checkout
# uses: actions/checkout@v4 uses: actions/checkout@v4
# - name: Send Gotify Notification - name: Send Gotify Notification
# uses: eikendev/gotify-action@0.0.3 uses: eikendev/gotify-action@0.0.3
# with: with:
# gotify_api_base: '${{ secrets.GOTIFY_URL }}' gotify_api_base: '${{ secrets.GOTIFY_URL }}'
# gotify_app_token: '${{ secrets.GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.GOTIFY_TOKEN }}'
# notification_title: '${{ github.ref_name }} ready to be merged.' notification_title: '${{ github.ref_name }} ready to be merged.'
# notification_message: '${{ gitea.server_url }}/issues' notification_message: '${{ gitea.server_url }}/issues'
# - name: Manual Approval - name: Manual Approval
# uses: trstringer/manual-approval@v1 uses: trstringer/manual-approval@v1
# with: with:
# secret: ${{ secrets.BOT_GITEA_TOKEN }} secret: ${{ secrets.BOT_GITEA_TOKEN }}
# approvers: Trez.One approvers: Trez.One
# minimum-approvals: 1 minimum-approvals: 1
# issue-title: "Deployment of ${{ github.ref_name }}" issue-title: "Deployment of ${{ github.ref_name }}"
# issue-body: "Autobots, roll out!" issue-body: "Autobots, roll out!"
# exclude-workflow-initiator-as-approver: false exclude-workflow-initiator-as-approver: false
# additional-approved-words: '' additional-approved-words: ''
# additional-denied-words: '' additional-denied-words: ''
# - name: Tea CLI Setup & PR Merge # - name: Tea CLI Setup & PR Merge
# run: | # run: |