Skip to content

CONFIG COLLECTOR

CONFIG COLLECTOR #2618

Workflow file for this run

name: "CONFIG COLLECTOR"
on:
workflow_dispatch:
schedule:
- cron: '*/60 * * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Execute PHP script
run: |
php collect.php
git config --global user.email "[email protected]"
git config --global user.name "KoshulaDora"
git config credential.helper store
git add -A
git commit -m "🚀 Servers Updated - $(TZ='Asia/Tehran' date '+%Y-%m-%d %H:%M:%S')"
git push