Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/youyo/sync-up-to-codecommit-action
https://github.com/youyo/sync-up-to-codecommit-action
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/youyo/sync-up-to-codecommit-action
- Owner: youyo
- License: mit
- Created: 2021-03-28T04:13:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-01T00:57:27.000Z (5 months ago)
- Last Synced: 2024-10-06T12:16:17.847Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 9
- Watchers: 3
- Forks: 59
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sync up to AWS CodeCommit Action
Synchronize from GitHub repository to AWS CodeCommit via GitHub Actions.
No need to ssh-private-key. Need to AWS IAM Credentials only.## Example usage
```yaml
name: sync up to codecommiton:
push:
tags-ignore:
- '*'
branches:
- '*'jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1- name: Sync up to CodeCommit
uses: youyo/sync-up-to-codecommit-action@v1
with:
repository_name: test_repo
aws_region: us-east-1
```## Inputs
- `repository_name` **Required** CodeCommit repository name.
- `aws_region` **Required** Region of the CodeCommit repository.## License
[MIT](LICENSE)
## Author
[youyo](https://github.com/youyo)