Skip to content

www

www #801

Workflow file for this run

name: www
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Run a generate www"
run: |
git config --global user.email ${{ secrets.USER_EMAIL }}
git config --global user.name ${{ secrets.USER_NAME }}
count=$(((RANDOM % 9) + 1))
for ((i=0; i<$count; i++)); do
openssl rand --base64 20 | head -n 1 > README.md
echo $count >> README.md
git add README.md
git commit -m '[add] www'
git push origin main
done