Skip to content

Commit

Permalink
Obscuroscan now deploys to port 80 (#1675)
Browse files Browse the repository at this point in the history
* Obscuroscan now deploys to port 80

* build

* start prod cmd

* cmd prod
  • Loading branch information
otherview authored Nov 29, 2023
1 parent 3e9e4a8 commit 362a80b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/manual-deploy-obscuro-scan-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
uses: "azure/aci-deploy@v1"
with:
resource-group: ${{ secrets.RESOURCE_GROUP }}
dns-name-label: ${{ github.event.inputs.testnet_type }}-obscuro-scan
dns-name-label: ${{ github.event.inputs.testnet_type }}-obscuro-scan-v3
image: ${{ vars.DOCKER_BUILD_TAG_SCAN_FE }}
name: ${{ github.event.inputs.testnet_type }}-fe-obscuro-scan
name: ${{ github.event.inputs.testnet_type }}-fe-obscuro-scan-v3
location: "uksouth"
restart-policy: "Never"
environment-variables: NEXT_PUBLIC_API_HOST=https://${{ github.event.inputs.testnet_type }}-api.obscuroscan.io NEXT_PUBLIC_FE_VERSION=${{ GITHUB.RUN_NUMBER }}-${{ GITHUB.SHA }}
command-line: npm run start
command-line: npm run start-prod
ports: "80"
cpu: 2
memory: 2
Expand Down
1 change: 1 addition & 0 deletions tools/obscuroscan_v3/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"start-prod": "next build && next start --port 80",
"lint": "next lint"
},
"dependencies": {
Expand Down

0 comments on commit 362a80b

Please sign in to comment.