mirror of
https://github.com/tiennm99/thedev.id.git
synced 2026-10-13 08:15:58 +00:00
automation
This commit is contained in:
1 parent
978991fd5e
commit
8b5486bde4
5 files changed
+1811
No files matched your search
@@ -0,0 +1,23 @@
|
||||
name: DNS
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check, update and add DNS records
|
||||
env:
|
||||
CF_EMAIL: ${{ secrets.CF_EMAIL }}
|
||||
CF_API_KEY: ${{ secrets.CF_API_KEY }}
|
||||
CF_ZONE_ID: ${{ secrets.CF_ZONE_ID }}
|
||||
MG_KEY: ${{ secrets.MG_KEY }}
|
||||
MAIL_FROM: ${{ secrets.MAIL_FROM }}
|
||||
MAIL_TO: ${{ secrets.MAIL_TO }}
|
||||
run: |
|
||||
composer install
|
||||
php dns.php
|
||||
Reference in new issue
Block a user