Skip to content

Commit

Permalink
Testing build
Browse files Browse the repository at this point in the history
  • Loading branch information
grebois committed May 18, 2024
1 parent f0c820c commit 53ec4b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/mainnet-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on:
pull_request:
branches:
- develop
types:
- closed
# types:
# - closed
# - open

permissions:
id-token: write
Expand All @@ -16,14 +17,14 @@ env:

jobs:
codecov:
if: github.event.pull_request.merged == true
# if: github.event.pull_request.merged == true
runs-on: powerfulubuntu
steps:
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

get-diff:
if: github.event.pull_request.merged == true
# if: github.event.pull_request.merged == true
runs-on: powerfulubuntu
environment: mainnet
outputs:
Expand Down Expand Up @@ -57,7 +58,7 @@ jobs:
fi
deploy-web:
if: needs.get-diff.outputs.file_exists == 'true'
# if: needs.get-diff.outputs.file_exists == 'true'
runs-on: powerfulubuntu
environment: mainnet
needs: [get-diff]
Expand Down
6 changes: 5 additions & 1 deletion web/leaderboard/Dockerfile.frontend
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ ENV PATH /app/node_modules.bin:$PATH

COPY . ./

#RUN npm install next@latest -g

#RUN npm run build

RUN yarn

ARG FLU_SENTRY_DSN
Expand All @@ -33,6 +37,6 @@ WORKDIR /usr/local/src/fluidity/web/leaderboard

EXPOSE 3000

RUN mkdir .next && touch .next/BUILD_ID && echo "999" > .next/BUILD_ID
RUN yarn build

CMD ["yarn", "start"]

0 comments on commit 53ec4b3

Please sign in to comment.