Skip to content

Commit 85195e1

Browse files
author
AztecBot
committed
Merge branch 'next' into merge-train/fairies
2 parents dcf872f + 2fa2623 commit 85195e1

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI3 Dashboard Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- next
7+
paths:
8+
- "ci3/dashboard/**"
9+
- ".github/workflows/ci3-dashboard-deploy.yml"
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ${{ github.workflow }}
14+
cancel-in-progress: false
15+
16+
jobs:
17+
deploy:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
22+
with:
23+
persist-credentials: false
24+
25+
- name: Deploy ci3 dashboard
26+
env:
27+
BUILD_INSTANCE_SSH_KEY: ${{ secrets.BUILD_INSTANCE_SSH_KEY }}
28+
run: |
29+
set -eu
30+
mkdir -p ~/.ssh
31+
echo "${BUILD_INSTANCE_SSH_KEY}" | base64 --decode > ~/.ssh/build_instance_key
32+
chmod 600 ~/.ssh/build_instance_key
33+
ssh-keyscan -H ci.aztec-labs.com >> ~/.ssh/known_hosts 2>/dev/null
34+
35+
./ci3/dashboard/deploy.sh

0 commit comments

Comments
 (0)