From ffb7ed43f3ef7d807386ea1f29b3e69d289c59fb Mon Sep 17 00:00:00 2001 From: juyeong-byeon Date: Tue, 11 Jun 2024 00:04:20 +0900 Subject: [PATCH] feat: deploy 5 --- .github/workflows/release.yml | 2 ++ .releaserc.yml | 3 +++ src/App.tsx | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 33abf9d..863a851 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,8 @@ jobs: release-sementic: env: GH_TOKEN: ${{ secrets.GH_TOKEN }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} permissions: contents: write pull-requests: write diff --git a/.releaserc.yml b/.releaserc.yml index 1fe7b0a..b3e353c 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -7,6 +7,7 @@ release: - "@semantic-release/changelog" - "@semantic-release/github" - "@semantic-release/git" + - "@semantic-release/exec" analyzeCommits: - path: "@semantic-release/commit-analyzer" releaseRules: @@ -62,6 +63,8 @@ release: - "CHANGELOG.md" publish: - path: "@semantic-release/github" + - path: "@semantic-release/exec" + publishCmd: "npm run build&& aws s3 sync ./dist s3://matthew-deploy-ci-test-dev-south-kr --profile=deploy-ci" success: - "@semantic-release/github" fail: diff --git a/src/App.tsx b/src/App.tsx index 9a59303..a8f5c51 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -6,7 +6,7 @@ function App() { return ( <>
-

Test deploy 4

+

Test deploy 5

React logo