-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from ginzarb/switch-to-main
souceブランチからmainブランチに変更
- Loading branch information
Showing
2 changed files
with
2 additions
and
10 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Build and Deploy | |
on: | ||
push: | ||
branches: | ||
- source | ||
- main | ||
|
||
jobs: | ||
build: | ||
|
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 |
---|---|---|
@@ -1,11 +1,3 @@ | ||
# ginzarb.github.io | ||
|
||
## デプロイ方法 | ||
|
||
* source ブランチで erb などを編集します。 | ||
* master ブランチは github pages 用なので基本触らない方向で。`middleman deploy` すると自動で master に push してくれます。 | ||
|
||
~~~ | ||
middleman build # 静的ファイルの生成 | ||
middleman deploy # build + デプロイ | ||
~~~ | ||
mainブランチにコミットが積まれるとGitHub Actions経由でGitHub PagesにビルドしたHTMLをアップロードします。 |