Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/ci3-dashboard-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI3 Dashboard Deploy

on:
push:
branches:
- next
paths:
- "ci3/dashboard/**"
- ".github/workflows/ci3-dashboard-deploy.yml"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Deploy ci3 dashboard
env:
BUILD_INSTANCE_SSH_KEY: ${{ secrets.BUILD_INSTANCE_SSH_KEY }}
run: |
set -eu
mkdir -p ~/.ssh
echo "${BUILD_INSTANCE_SSH_KEY}" | base64 --decode > ~/.ssh/build_instance_key
chmod 600 ~/.ssh/build_instance_key
ssh-keyscan -H ci.aztec-labs.com >> ~/.ssh/known_hosts 2>/dev/null

./ci3/dashboard/deploy.sh
Loading