You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Github to AWS CN CodeCommit Sync
v1.1
Synchronize from GitHub repository to AWS CodeCommit via GitHub Actions.
No need to ssh-private-key. Need to AWS IAM Credentials only.
name: sync up to codecommit
on:
push:
tags-ignore:
- '*'
branches:
- '*'
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure AWS Credentials
uses: aws-actions/[email protected]
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: ValenW-C12/sync-up-to-codecommit-action@v1
with:
repository_name: test_repo
aws_region: us-east-1
repository_name
Required CodeCommit repository name.aws_region
Required Region of the CodeCommit repository.