Skip to content

Commit a1c1d25

Browse files
committed
現時点では不要な Actions を停止(コメントアウト)
1 parent d8e0405 commit a1c1d25

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
JEKYLL_ENV=production bundle exec jekyll build
3434
JEKYLL_ENV=production bundle exec jekyll doctor
3535
# SKIP_BUILD=true bundle exec rake test
36-
# TODO: サイトが出来上がったら上記テストも走らせると吉
36+
# NOTE: サイトが仕上がったら、上記テストを走らせると自動検知できる。
37+
# ただ初期は自動検知の通知が多すぎるので手動で実行するのが吉。
3738
3839
# Deploy job is triggered only pushed to main branch && CI passed
3940
deploy:
@@ -61,23 +62,23 @@ jobs:
6162
run: |
6263
JEKYLL_ENV=production bundle exec jekyll build
6364
64-
- name: 🤖 Generate individual pages by projects.yml data
65-
run: |
66-
bundle exec rake upsert_project_pages_by_data
67-
if [ -n "$(git status ./_pages --porcelain)" ]; then
68-
if ( ruby -ryaml -e "p YAML.unsafe_load(STDIN.read)" < _data/projects.yml > /dev/null ); then
69-
git config --global user.name "takusandayooo"
70-
git config --global user.email "[email protected]"
71-
git checkout main
72-
git add _pages/exhibition
73-
git add Gemfile.lock
74-
git commit -m '🤖 Upsert project page(s) by GitHub Actions'
75-
# git push origin
76-
git push origin main
77-
else
78-
echo "Detect syntax error in '_data/projects.yml' file, check its syntax."
79-
fi
80-
fi
65+
#- name: 🤖 Generate individual pages by projects.yml data
66+
# run: |
67+
# bundle exec rake upsert_project_pages_by_data
68+
# if [ -n "$(git status ./_pages --porcelain)" ]; then
69+
# if ( ruby -ryaml -e "p YAML.unsafe_load(STDIN.read)" < _data/projects.yml > /dev/null ); then
70+
# # デフォルトでは内情に詳しい @yasulab としていますが、適宜ユーザー名を変えてください。
71+
# git config --global user.name "yasulab"
72+
# git config --global user.email "[email protected]"
73+
# git checkout main
74+
# git add _pages/exhibition
75+
# git add Gemfile.lock
76+
# git commit -m '🤖 Upsert project page(s) by GitHub Actions'
77+
# git push origin main
78+
# else
79+
# echo "Detect syntax error in '_data/projects.yml' file, check its syntax."
80+
# fi
81+
# fi
8182

8283
- name: 🚀 Deploy to GitHub Pages
8384
if: github.ref == 'refs/heads/main' && job.status == 'success'

0 commit comments

Comments
 (0)