Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
swawa-yu committed Dec 24, 2023
2 parents 4cc990d + 2347a46 commit 0405daf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/develop-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ jobs:
- name: Build
run: npm run build # または pnpm run build

- name: Create gh-pages branch if it doesn't exist
run: |
if ! git ls-remote --heads origin gh-pages; then
git checkout --orphan gh-pages
git reset --hard
git commit --allow-empty -m "Initial gh-pages commit"
git push origin gh-pages
else
git checkout gh-pages
fi
- name: Deploy to /dev directory
run: |
git checkout gh-pages
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

0 comments on commit 0405daf

Please sign in to comment.