Skip to content
terminal

GitHub Action

Github to AWS CodeCommit Sync for Url

v1.0.1 Latest version

Github to AWS CodeCommit Sync for Url

terminal

Github to AWS CodeCommit Sync for Url

Synchronize from GitHub to CodeCommit via GitHub Actions using IAM credentials

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Github to AWS CodeCommit Sync for Url

uses: genoMichele/sync-up-to-codecommit-action@v1.0.1

Learn more about this action in genoMichele/sync-up-to-codecommit-action

Choose a version

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

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/configure-aws-credentials@v1.0.3
        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: genoMichele/sync-up-to-codecommit-action@v1
        with:
          codecommit_url: url

Inputs

  • codecommit_url Required CodeCommit URL.

License

MIT