Skip to content

Commit c12fd40

Browse files
committed
Draft sync task
1 parent 68a4aa2 commit c12fd40

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Sync bins
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "binaries/**"
9+
10+
jobs:
11+
sync-binaries:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
- uses: actions/checkout@v1
17+
18+
- name: Copy ./binaries on S3
19+
uses: jakejarvis/s3-sync-action@master
20+
with:
21+
args: --follow-symlinks --delete
22+
env:
23+
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
24+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
25+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
26+
SOURCE_DIR: './binaries'

0 commit comments

Comments
 (0)