Skip to content

Commit

Permalink
うさぎ指摘取り込み
Browse files Browse the repository at this point in the history
  • Loading branch information
uji52 committed Feb 27, 2025
1 parent 2cc6a2c commit 74e2417
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/github-actions-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ name: Deploy Dev
on:
push:
branches:
- feature/*

- feature/*
jobs:
Lint:
runs-on: ubuntu-24.04
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check nodejs version
run: node -v
Expand All @@ -20,37 +19,38 @@ jobs:
- name: Install Dependencies
run: npm install

# Lint導入までコメントアウト
#- name: Lint
# run: npm run lint

# Lint導入までコメントアウト
#- name: CSS Lint
# run: npm run lint:css

UnitTest:
runs-on: ubuntu-24.04
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Dependencies
run: npm install

# UT導入までコメントアウト
#- name: Do Unit Test
# run: npm run test:unit

DeployDevelop:
runs-on: ubuntu-24.04
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Dependencies
run: npm install

- name: Build
run: npm run build # Vue ビルド

- name: Deploy # S3にデプロイ
- name: Deploy # S3にデプロイ
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -62,4 +62,3 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ap-northeast-1
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CF_DISTRIBUTION_ID }} --paths "/*"

0 comments on commit 74e2417

Please sign in to comment.