-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
gregnuj
committed
Aug 24, 2023
1 parent
a3f9d7f
commit 9d0c4af
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: sync to codecommit | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
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 | ||
with: | ||
aws-access-key-id: ${{ secrets.CC_ACCESS_KEY }} | ||
aws-secret-access-key: ${{ secrets.CC_SECRET_KEY }} | ||
aws-region: us-east-1 | ||
|
||
- name: Sync up to CodeCommit | ||
uses: terra-money/sync-up-to-codecommit-action@v1 | ||
with: | ||
repository_name: ${{ github.event.repository.name }} | ||
aws_region: us-east-1 |