Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHubActionsの設定 #6

Open
masayuki14 opened this issue Nov 5, 2020 · 5 comments · Fixed by #30 or #32
Open

GitHubActionsの設定 #6

masayuki14 opened this issue Nov 5, 2020 · 5 comments · Fixed by #30 or #32

Comments

@masayuki14
Copy link
Owner

masayuki14 commented Nov 5, 2020

  • push したらESLintを実行する。
  • merge されたらbuildしてdeployする。
@masayuki14
Copy link
Owner Author

https://github.com/stefanzweifel/git-auto-commit-action
このアクションを使ってみたけどなんか違った。
これは自動でコミットするやつぽい。
たとえば eslint --fix したあとに使うなら有効っぽい。

@masayuki14
Copy link
Owner Author

https://github.community/t/how-does-one-commit-from-an-action/16127/7

git config --global user.name "Your Name"
git config --global user.email "[email protected]"

を追加してやる方法でよかった。
https://github.com/masayuki14/kukupad/runs/1393723473?check_suite_focus=true

@masayuki14
Copy link
Owner Author

yarn run v1.22.5
$ gh-pages -d build
fatal: could not read Username for 'https://github.com': No such device or address

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

これをちゃんと解決する。

@masayuki14
Copy link
Owner Author

https://github.com/actions/checkout

ions/checkout@v2 にしておけば commit & push はできるはずなんだ。

@masayuki14
Copy link
Owner Author

一旦保留

@masayuki14 masayuki14 reopened this Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant