diff --git a/.github/workflows/deployment.yml b/.github/workflows/release.yml similarity index 97% rename from .github/workflows/deployment.yml rename to .github/workflows/release.yml index 2c836d5e..c162cde5 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Deployment +name: Release on: push: @@ -32,9 +32,13 @@ jobs: - 'src/**/*.ts' - 'src/**/*.tsx' - 'tsup.config.ts' + - '.github/workflows/release.yml' deploy: runs-on: ubuntu-latest + permissions: + contents: write + id-token: write needs: check-changes if: ${{ needs.check-changes.outputs.changed == 'true' }} steps: diff --git a/src/docs/en/contributing.md b/src/docs/en/contributing.md index d7c55c15..59850f7c 100644 --- a/src/docs/en/contributing.md +++ b/src/docs/en/contributing.md @@ -275,9 +275,9 @@ All `react-simplikit` implementations use special rendering functions to verify ::: -### Deployment +### Release -When changes are merged into the `main` branch, deployment happens automatically. You can view the deployment results in [GitHub Actions](https://github.com/toss/react-simplikit/actions). +When changes are merged into the `main` branch, release happens automatically. You can view the release results in [GitHub Actions](https://github.com/toss/react-simplikit/actions). ## Documentation Contribution