Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LJHG committed Dec 28, 2024
1 parent 5c651a5 commit 132ea51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
- name: Push Sites to Another Repository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./publish.sh ${{ secrets.GITHUB_TOKEN }}
PASSWORD: ${{ secrets.PASSWORD }}
run: ./publish.sh
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 设置目标仓库的 URL 和分支
REPO_URL="https://${GITHUB_TOKEN}@github.com/LJHG/ljhg.github.io.git"
REPO_URL="https://${PASSWORD}@github.com/LJHG/ljhg.github.io.git"
BRANCH="master" # 使用 master 作为分支名

# 检查并创建 mysite 文件夹(在父级目录)
Expand Down

0 comments on commit 132ea51

Please sign in to comment.