Skip to content

Update E20240105 TLS nginx.md #83

Update E20240105 TLS nginx.md

Update E20240105 TLS nginx.md #83

Workflow file for this run

name: directory list
on:
push:
branches:
- main
jobs:
update:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Append directory tree to README
run: |
sudo apt-get install tree
sudo rm -rf README.md
touch README.md
git add README.md
echo "# My daily note " > README.md
echo -e "![main](./.images/main.jpg) \n" >> README.md
tree --dirsfirst --noreport -I README.md | sed 's/^/ /' >> README.md
- name: push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add .
git commit -m "Update README with directory list"
git push origin main