Deploy Angular Project with CI /CD to Hostinger with FTP

 1. creat a folder in your project root folder with name .github 2. create second folder in .github/workflows 3. create file in your .github/workflows/main.yml paste this code in main.yml file on :   push :     branches : main <--- select your branch name name : 🚀 Deploy website on push jobs :   web-deploy :     name : 🎉 Deploy     runs-on : ubuntu-latest     steps :     - name : 🚚 Get latest code       uses : actions/checkout@v3     - name : Use Node.js 18       uses : actions/setup-node@v2       with :         node-version : '18'           - name : 🔨 Build Project       run : |         npm install               npm run build       - name : 📂 Sync files       uses : SamKirkland/FTP-Deploy-Action@v4.3.4   ...

Mobile otp verification code

/* Start code//


 <?php

// Account details

$apiKey = urlencode('enter your  api key');

 

// Message details

        $numbers = '919140934715';

$sender = 'Jims Autos';

$message = 'This is your message';

$url = 'https://api.txtlocal.com/image-logo.png';

 

// Prepare data for POST request

$data = array('apikey' => $apiKey, 'numbers' => $numbers, 'message' => $message);

 

// Send the POST request with cURL

$ch = curl_init('https://api.txtlocal.com/send/');

curl_setopt($ch, CURLOPT_POST, true);

curl_setopt($ch, CURLOPT_POSTFIELDS, $data);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);

curl_close($ch); 

// Process your response here

echo $response;

?>


 end  code *//

Comments

Popular posts from this blog

Ms Office 2019 activation link