Skip to content

Commit 230191e

Browse files
authored
Merge pull request #473 from mchangrh/gha_b2-sync
add b2 syncing for sqlite base
2 parents 55db24a + 28448f9 commit 230191e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/generate-sqlite-base.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,13 @@ jobs:
2525
- uses: actions/upload-artifact@v2
2626
with:
2727
name: SponsorTimesDB.db
28-
path: databases/sponsorTimes.db
28+
path: databases/sponsorTimes.db
29+
- uses: mchangrh/s3cmd-sync@f4f36b9705bdd9af7ac91964136989ac17e3b513
30+
with:
31+
args: --acl-public
32+
env:
33+
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
34+
S3_BUCKET: ${{ secrets.S3_BUCKET }}
35+
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
36+
S3_ACCESS_KEY_SECRET: ${{ secrets.S3_ACCESS_KEY_SECRET }}
37+
SOURCE_DIR: 'databases/sponsorTimes.db'

0 commit comments

Comments
 (0)