#!/bin/bash JOB_ID="$(curl https://git.ajet.fyi/api/v1/repos/ajet-industries/blog?limit=1 -H "Content-Type: application/json" | jq '.id)' rm -rf /var/www/html/* curl https://git.ajet.fyi/ajet-industries/blog/actions/runs/9/artifacts/blog --output /var/www/html unzip /var/www/html/blog rm /var/www/html/blog systemctl restart nginx