Skip to content

Commit

Permalink
feat: add team ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Mar 5, 2025
1 parent 674612e commit e043919
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ jobs:

- name: publish
run: |
git config --global user.name 'semi-bot'
git config --global user.email '[email protected]'
git config --global user.name 'semi-team'
git config --global user.email '[email protected]'
mkdir ~/.ssh
echo $SEMI_TEAM_PRIVATE_KEY > ~/.ssh/ssh-ed25519
echo $SEMI_TEAM_PRIVATE_KEY_PUB > ~/.ssh/ssh-ed25519.pub
echo "Host\n github.com\n AddKeysToAgent yes\n UseKeychain yes\n IdentityFile ~/.ssh/id_ed25519" > ~/.ssh/config
node scripts/sitemap_update.js
if [ -n "$(git status --porcelain)" ]; then
echo "there are changes";
Expand Down

0 comments on commit e043919

Please sign in to comment.