Skip to content

Commit 627f123

Browse files
authored
Update sign_and_release.yml
1 parent 3305dec commit 627f123

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

.github/workflows/sign_and_release.yml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,29 @@ on:
44
workflow_dispatch:
55

66
jobs:
7-
sign-and-publish:
7+
sync-staging:
8+
runs-on: arc-runners-clickhouse-signer
9+
steps:
10+
- name: Install aws cli
11+
uses: unfor19/install-aws-cli-action@v1
12+
with:
13+
version: 2
14+
arch: arm64
15+
16+
- name: sync latest repo changes
17+
run: |
18+
aws s3 sync s3://builds.altinity.cloud/Blue/ /home/runner/.cache/staging
19+
20+
sync-prod:
821
runs-on: arc-runners-clickhouse-signer-prod
922
steps:
10-
# - name: Install aws cli
11-
# uses: unfor19/install-aws-cli-action@v1
12-
# with:
13-
# version: 2
14-
# arch: arm64
15-
- run: ls -la /home/runner/.cache/production/apt-repo/pool/main
23+
- name: Install aws cli
24+
uses: unfor19/install-aws-cli-action@v1
25+
with:
26+
version: 2
27+
arch: arm64
28+
29+
- name: sync latest repo changes
30+
run: |
31+
aws s3 sync s3://builds.altinity.cloud/Green/ /home/runner/.cache/production
32+

0 commit comments

Comments
 (0)