Very important CICD #58309
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Very important CICD | |
on: | |
schedule: | |
- cron: '*/5 * * * *' | |
jobs: | |
very_important_job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: { ref: main } | |
- name: Do very important stuff | |
run: | | |
python -c 'from datetime import datetime; f = open("src/very_important_code.py", "w"); f.write("print(\""+str(datetime.now())+": 💩\")")' | |
git config --global user.name 'mr-shit' | |
git config --global user.email '[email protected]' | |
git commit -am "Commit message" | |
git push |