From 06be8cd3eb6b29b6399c5207476f9940eb2fe608 Mon Sep 17 00:00:00 2001 From: owl352 Date: Sat, 12 Oct 2024 22:59:00 +0300 Subject: [PATCH] initial commit --- .github/workflows/deploy.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e7b8da939..c405dea72 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,8 +33,6 @@ jobs: script: | docker stop $(docker ps -f name=pe-testnet-api -q) || true docker stop $(docker ps -f name=pe-testnet-indexer -q) || true -# docker stop $(docker ps -f name=pe-mainnet-api -q) || true -# docker stop $(docker ps -f name=pe-mainnet-indexer -q) || true docker rm pe-testnet-api pe-testnet-indexer || true drop_db: @@ -71,9 +69,6 @@ jobs: docker run --rm --env-file testnet.env ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:api npm run db:drop docker run --rm --env-file testnet.env -v ./platform-explorer/packages/indexer/migrations:/migrations owl352/refinery_cli_docker ./refinery migrate -e DATABASE_URL -p /migrations -# docker run --rm --env-file production.env ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:api npm run db:drop -# docker run --rm --env-file production.env -v ./platform-explorer/packages/indexer/migrations:/migrations owl352/refinery_cli_docker ./refinery migrate -e DATABASE_URL -p /migrations - start: runs-on: ubuntu-latest @@ -98,7 +93,3 @@ jobs: docker run -d -p 3005:3005 --restart always --env-file testnet.env --name pe-testnet-api ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:api sleep 3 docker run -d --env-file testnet.env --restart always --name pe-testnet-indexer ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:indexer ./indexer - sleep 3 -# docker run -d -p 3006:3005 --restart always --env-file production.env --name pe-mainnet-api ghcr.io/pshenmic/platform-explorer:api - sleep 3 -# docker run -d --env-file production.env --restart always --name pe-mainnet-indexer ghcr.io/pshenmic/platform-explorer:indexer ./indexer