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 ( <>