-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
93046c0
commit 3ff3573
Showing
1 changed file
with
35 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,35 @@ | ||
name: "AWS S3 Sync" | ||
description: "This action syncs github repository with AWS S3 buckets" | ||
author: yashrajdighe | ||
|
||
inputs: | ||
source: | ||
description: "source directory" | ||
required: true | ||
delete: | ||
description: "delete files which does not exists ar source" | ||
default: "False" | ||
exclude: | ||
description: "files to exclude" | ||
default: "" | ||
include: | ||
description: "files to include" | ||
default: "*" | ||
destination: | ||
description: "S3 bucket name with directory to sync data" | ||
required: true | ||
dryrun: | ||
description: "Dry run the output" | ||
default: "False" | ||
|
||
|
||
runs: | ||
using: docker | ||
image: Dockerfile | ||
env: | ||
SOURCE: ${{ inputs.source }} | ||
DELETE: ${{ inputs.delete }} | ||
EXCLUDE: ${{ inputs.exclude }} | ||
INCLUDE: ${{ inputs.include }} | ||
DESTINATION: ${{ inputs.destination }} | ||
DRYRUN: ${{ inputs.dryrun }} |