Skip to content

Commit

Permalink
Create github_codecommit_sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dltj authored Jul 5, 2024
1 parent 751074f commit 8269e9c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/github_codecommit_sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: sync up to codecommit

on:
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.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.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

0 comments on commit 8269e9c

Please sign in to comment.