Skip to content

Update README.md

Update README.md #39

Workflow file for this run

name: Gitee
on:
push:
branches: main
jobs:
Gitee:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir ~/.ssh
cat > ~/.ssh/id_rsa <<EOF
${{secrets.GITEE}}
EOF
chmod 700 ~/.ssh/id_rsa
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
ssh-keyscan gitee.com >> ~/.ssh/known_hosts
ssh -T [email protected]
git config --global user.name ${GITHUB_ACTOR}
git config --global user.email ${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com
REPOURL=stun_bt
REPODIR=$PWD
cd ~
git clone [email protected]:oniicyan/$REPOURL.git
cd $REPOURL
cp $REPODIR/*.* ./
git add .
git commit -m "Update from GitHub Actions" || exit 0
git push