WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

git : git stash

git : git stash #33

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 -e "# study notes \n## My personal study organization note " > README.md
tree --dirsfirst --noreport -I README.md | sed 's/^/ /' >> README.md
- name: push
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