Skip to content

Commit 70a176c

Browse files
committed
test workflow
Signed-off-by: Abhijat Malviya <[email protected]>
1 parent e40ce31 commit 70a176c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/generate-osrepo-site.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,17 @@ jobs:
5757
- name: Generate Directory Listings
5858
working-directory: tools/packaging/osrepos
5959
run: python scripts/generate-index.py
60+
61+
- name: Authenticate
62+
uses: 'google-github-actions/auth@v3'
63+
with:
64+
project_id: 'dragonflydb'
65+
credentials_json: ${{ secrets.GCP_BUCKET_CREDENTIALS }}
66+
67+
- name: GCloud setup
68+
uses: 'google-github-actions/setup-gcloud@v3'
69+
70+
- name: Deploy site
71+
working-directory: tools/packaging/osrepos
72+
run: |
73+
gcloud storage ls && gcloud storage rsync _site gs://dragonfly-packages-bucket --recursive --delete-unmatched-destination-objects

0 commit comments

Comments
 (0)