From f958001096d17a7b88433914c7746932bf79f49f Mon Sep 17 00:00:00 2001 From: hyeseon han Date: Tue, 5 Dec 2023 00:23:52 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20github=20actions=20=EC=B4=88=EA=B8=B0=20?= =?UTF-8?q?=EC=84=B8=ED=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/workflow.yml | 19 +++++++++++++++++++ README.md | 2 -- src/pages/index.tsx | 4 +++- 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/workflow.yml delete mode 100644 README.md diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..593850c --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,19 @@ +# 1 워크플로의 이름 지정 +name: Production-CI/CD +# 2 워크플로가 시작될 조건 지정 +on: + push: + branches: [main] +jobs: + build: + runs-on: ubuntu-latest # 3 실행 환경 지정 + #4 실행스텝지정 + steps: + - name: Checkout source code. + uses: actions/checkout@v2 + - name: Check Node v + run: node -v + - name: Install Dependencies + run: yarn install --frozen-lockfile + - name: Build + run: yarn build diff --git a/README.md b/README.md deleted file mode 100644 index 8241a3a..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# mara-web -DDD 10기 web1 팀 web front diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 8557c56..7079680 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -7,7 +7,9 @@ export default function Home() {
-
+
+ next js +
); }