Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Jul 26, 2024
1 parent 4c65ca2 commit 1ef9ff2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ jobs:
with:
# Upload entire repository
path: './build'
- name: to target repo
uses: s0/git-publish-subdir-action@develop
env:
# 换成自己的目标仓库
REPO: [email protected]:sunwuyuan/scratchguifile.git
# 目标分支
BRANCH: main
# 要推送的目录
FOLDER: build
# 保存在secrets里面生成的ssh私钥
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}
KNOWN_HOSTS_FILE: known_hosts # Path relative to the root of the repository
# - name: to target repo
# uses: s0/git-publish-subdir-action@develop
# env:
# # 换成自己的目标仓库
# REPO: [email protected]:sunwuyuan/scratchguifile.git
# # 目标分支
# BRANCH: main
# # 要推送的目录
# FOLDER: build
# # 保存在secrets里面生成的ssh私钥
# SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}
# KNOWN_HOSTS_FILE: known_hosts # Path relative to the root of the repository

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
Expand Down

0 comments on commit 1ef9ff2

Please sign in to comment.