-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bump up actions used in GitHub Actions #45
Conversation
Deploying haraiai with Cloudflare Pages
|
Terraform Initialization ⚙️
|
Terraform Initialization ⚙️
|
.github/workflows/workflow.yml
Outdated
- name: Authenticate Google Cloud | ||
uses: google-github-actions/auth@v2 | ||
id: auth | ||
with: | ||
project_id: haraiai | ||
export_default_credentials: true | ||
- run: "gcloud info" | ||
workload_identity_provider: projects/900543910035/locations/global/workloadIdentityPools/github-actions/providers/github |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v2を使っている記事はあまりないが、認証の仕組みとしては同じなので下記の記事が参考になった
GitHub ActionsでWorkload Identityでの認証を入れてGoogle CloudのAPIを叩く
- run: npm ci | ||
- run: npm run build | ||
- uses: actions/upload-artifact@v3 | ||
node-version: 21.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
影響が小さいのでNodeだけバージョンアップしておく。GoやTerraformなどは別途やる
Terraform Initialization ⚙️
|
Terraform Initialization ⚙️
|
Terraform Initialization ⚙️
|
#34 の方の問題でまだデプロイは成功しないかもしれないが、一旦バージョン周りは良さそう |
全ての依存actionのバージョンをアップデートしていく。
resolve #41
Ref