Skip to content

Commit

Permalink
Release ultrasound homes (#260)
Browse files Browse the repository at this point in the history
* Upgrade browsers

* release-ultrasound-homes gh action

* Make it actually build

* Moar fixes

* More build fixes

* Proper svg check

* Apply svgo

* Set a proper bg color
  • Loading branch information
noisekit authored May 2, 2024
1 parent 6b4a332 commit 8ec205b
Show file tree
Hide file tree
Showing 87 changed files with 587 additions and 412 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
- run: yarn deps:circular
- run: yarn pretty
- run: yarn lint
- run: yarn svg:check

tests:
working_directory: /tmp/app
Expand Down
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ module.exports = {
'theme/**/*',
'oracle-manager/ui/**/*',
'governance/ui/**/*',
'ultrasound/ui/**/*',
],

env: {
Expand Down
55 changes: 55 additions & 0 deletions .github/workflows/release-ultrasound-homes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: release-ultrasound-homes

on:
push:
tags:
- 'release-ultrasound-homes-*'
branches:
- 'release-ultrasound-homes'
- 'releases'

jobs:
release-liquidity:
runs-on: ubuntu-latest
steps:
- run: git config --global user.email [email protected]
- run: git config --global user.name synthetix-team

- uses: actions/checkout@v4
with:
path: ultrasound
repository: 'Synthetixio/ultrasound.homes'
ref: 'master'
ssh-key: '${{ secrets.ULTRASOUND_SSH_KEY }}'

- uses: actions/checkout@v4
with:
path: v3ui
ref: '${{ github.sha }}'
ssh-key: '${{ secrets.V3UI_SSH_KEY }}'

- run: yarn workspaces focus @snx-v3/ultrasound-homes
working-directory: v3ui

- run: yarn workspace @snx-v3/ultrasound-homes build
working-directory: v3ui

- run: rm -rf ./ultrasound/*

- run: git checkout HEAD -- CNAME || true
working-directory: ultrasound

- run: cp -r ./v3ui/ultrasound/ui/dist/* ./ultrasound/

- run: git add .
working-directory: ultrasound

- run: |
git commit -m "Release ${{ github.event.release.name }}" \
--allow-empty \
-m "Source: ${{ github.server_url}}/${{ github.repository }}" \
-m "Commit: ${{ github.sha }}"
working-directory: ultrasound
- run: git push origin master
working-directory: ultrasound
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
21 changes: 10 additions & 11 deletions governance/ui/public/councils/ac.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 12 additions & 18 deletions governance/ui/public/councils/ac1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions governance/ui/public/councils/gc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8ec205b

Please sign in to comment.