-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0879d16
commit c72c4ed
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,17 +29,17 @@ jobs: | |
echo "Generated files in public directory:" | ||
ls -la public | ||
# - name: Setup SSH | ||
# uses: webfactory/[email protected] | ||
# with: | ||
# ssh-private-key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
- name: Setup SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | ||
|
||
# - name: Deploy to GitHub Pages | ||
# run: | | ||
# git config --global init.defaultBranch main | ||
# git config --global user.name "github-actions[bot]" | ||
# git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
# npx hexo deploy | ||
- name: Deploy to GitHub Pages | ||
run: | | ||
git config --global init.defaultBranch main | ||
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
npx hexo deploy | ||
# Uncomment this step if you want to build the site in a custom directory and push to a branch other than `gh-pages` | ||
# - name: Deploy to custom branch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters