diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy-production.yaml
similarity index 97%
rename from .github/workflows/deploy.yaml
rename to .github/workflows/deploy-production.yaml
index d567c4f3..e1dead85 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy-production.yaml
@@ -1,4 +1,4 @@
-name: Deploy
+name: Deploy Production
on:
push:
branches:
diff --git a/.github/workflows/deploy-staging.yaml b/.github/workflows/deploy-staging.yaml
new file mode 100644
index 00000000..06066ff2
--- /dev/null
+++ b/.github/workflows/deploy-staging.yaml
@@ -0,0 +1,35 @@
+name: Deploy Staging
+on:
+ push:
+ branches:
+ - staging
+
+jobs:
+ push_to_registry:
+ name: Push Docker image to Docker Hub
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out the repo
+ uses: actions/checkout@v2
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v1
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v1
+ - name: Login to DockerHub
+ uses: docker/login-action@v1
+ with:
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
+ - name: Update env variables
+ run: |
+ sed -i 's/MAILGUN_USER=secret/MAILGUN_USER=${{ secrets.MAILGUN_USER }}/g' .env
+ sed -i 's/MAILGUN_KEY=secret/MAILGUN_KEY=${{ secrets.MAILGUN_KEY }}/g' .env
+ - name: Build and push
+ id: docker_build
+ uses: docker/build-push-action@v2
+ with:
+ context: .
+ push: true
+ tags: forbole/forbole-x-staging:latest
+ - name: Image digest
+ run: echo ${{ steps.docker_build.outputs.digest }}
diff --git a/Dockerfile b/Dockerfile
index b6dac44e..c01672be 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,6 +10,7 @@ COPY patches /app/patches
RUN yarn install
COPY . /app
+COPY /misc/cryptocurrencies.prod.ts /app/misc/cryptocurrencies.ts
RUN yarn build
CMD [ "yarn", "start" ]
\ No newline at end of file
diff --git a/assets/images/icons/icon_camera.svg b/assets/images/icons/icon_camera.svg
new file mode 100644
index 00000000..190e9755
--- /dev/null
+++ b/assets/images/icons/icon_camera.svg
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/assets/images/icons/icon_profile_tx.svg b/assets/images/icons/icon_profile_tx.svg
new file mode 100644
index 00000000..23560aef
--- /dev/null
+++ b/assets/images/icons/icon_profile_tx.svg
@@ -0,0 +1,5 @@
+
diff --git a/components/AccountDetailCard/index.tsx b/components/AccountDetailCard/index.tsx
index c7295a18..8ce8e01c 100644
--- a/components/AccountDetailCard/index.tsx
+++ b/components/AccountDetailCard/index.tsx
@@ -27,6 +27,8 @@ import useIsMobile from '../../misc/useIsMobile'
import EditAccountDialog from '../EditAccountDialog'
interface AccountDetailCardProps {
+ profileExist: boolean
+ onCreateProfile(): void
wallet: Wallet
account: Account
validators: Validator[]
@@ -35,6 +37,8 @@ interface AccountDetailCardProps {
}
const AccountDetailCard: React.FC = ({
+ profileExist,
+ onCreateProfile,
wallet,
account,
accountBalance,
@@ -95,6 +99,15 @@ const AccountDetailCard: React.FC = ({
>
+ {/* !profileExist ? (
+
+ ) : null */}