Skip to content

Commit

Permalink
Merge pull request #1 from axone-protocol/refactor/rebranding
Browse files Browse the repository at this point in the history
🎨 Axone branding on new updated Ping explorer
  • Loading branch information
bdeneux authored May 29, 2024
2 parents a6691ef + dbd29ee commit 587cf72
Show file tree
Hide file tree
Showing 37 changed files with 202 additions and 613 deletions.
5 changes: 0 additions & 5 deletions .github/FUNDING.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
workflow_call:

push:
branches: [main]

pull_request:
branches: [main]

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Fetch dependencies
run: |
yarn --frozen-lockfile
- name: Build project
run: |
yarn build
- name: Build docker image
run: |
docker build .
21 changes: 0 additions & 21 deletions .github/workflows/config-check.yaml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/docker.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/mainnet-deploy.yaml.disabled

This file was deleted.

56 changes: 56 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Publish

on:
workflow_dispatch:

push:
branches: [ main ]
tags: [ "v*" ]

concurrency:
group: publish-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Install
run: yarn install --ignore-engines

- name: Build
run: yarn build

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Extract metadata (tags, labels) for Docker
id: docker_metadata
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},value=nightly
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
labels: |
org.opencontainers.image.vendor=AXONE
- name: Log into GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.DOCKER_REGISTRY_ID }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}

- name: Build and publish image(s)
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.docker_metadata.outputs.tags }}
labels: ${{ steps.docker_metadata.outputs.labels }}
27 changes: 0 additions & 27 deletions .github/workflows/testnet-deploy.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules/
**/.vscode
yarn-error.log
dist
.idea
.idea
.DS_Store
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM nginx:alpine
COPY ping.conf /etc/nginx/conf.d/default.conf
COPY dist /usr/share/nginx/html
74 changes: 0 additions & 74 deletions chains/mainnet/axelar.json

This file was deleted.

31 changes: 0 additions & 31 deletions chains/mainnet/cosmos.json

This file was deleted.

30 changes: 0 additions & 30 deletions chains/mainnet/neutron.json

This file was deleted.

Loading

0 comments on commit 587cf72

Please sign in to comment.