Below is a template of GitHub's Workflow Action config file. Workflow is GitHub's CI/CD tool, like CircleCI.
Directory relative to the root of your application - .github/workflows/main.yml
.
name: Deploy
on:
import os | |
for old in os.listdir('img'): | |
os.rename(os.path.join('img', old), | |
os.path.join('img', bytes(old,'iso-8859-1').decode('utf-8'))) |
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh