michael / omg.lol Weblog import scripts
0 curtidas
0 bifurcações
2 arquivos
Última atividade 2 hours ago
See https://blog.thms.uk/2023/03/blogging-with-webloglol-and-github-actions
| 1 | shell_exec('git config core.quotepath off'); |
| 2 | echo 'git diff --name-only '.$argv[1].' ' . $argv[2]; |
| 3 | $diff = shell_exec('git diff --name-only '.$argv[1].' ' . $argv[2]); |
| 4 | if($diff == '') { |
| 5 | echo "\n*** No changes detected. Are you running the latest version of the action? See https://github.com/neatnik/weblog.lol for details."; |
| 6 | exit; |
| 7 | } |
| 8 | |
| 9 | $diff = explode("\n", $diff); |
Próximo
Anterior