forked from amethystnetwork-dev/Incognito
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'amethystnetwork-dev:main' into main
- Loading branch information
Showing
2,824 changed files
with
1,768 additions
and
529,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: To create a issue join the Amethyst Network discord | ||
url: https://discord.gg/J3VPy5Vy8x | ||
url: https://amethystnetwork-dev.github.io/discord/invite | ||
about: I do not want to have to deal with random useless issues on here. | ||
- name: Heroku, Repl.it, Blocked site issues | ||
url: https://www.youtube.com/embed/BLUkgRAy_Vo?mute=1&autoplay=1 | ||
about: Do not create issues for these. | ||
- name: Netifly, Vercel, GitHub Pages, not working | ||
url: https://www.youtube.com/embed/BLUkgRAy_Vo?mute=1&autoplay=1 | ||
about: This cannot work on static hosts. | ||
about: This cannot work on static hosts. | ||
- name: Anything about the games | ||
url: https://github.com/amethystnetwork-dev/Incognito-gfiles | ||
about: They are in another repo now. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Create and publish a Docker image | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
workflow_dispatch: | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
build-and-push-image: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Log in to the Container registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
tags: | | ||
latest | ||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
|
||
- name: Build and push Docker image | ||
id: push | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
ssl/cert.* | ||
ssl/key.* | ||
ssl/key.* | ||
.tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
FROM node:18-alpine | ||
FROM node:20-alpine AS base | ||
|
||
ENV NODE_ENV=production | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
|
||
WORKDIR /app | ||
COPY ["package.json", "pnpm-lock.yaml", "./"] | ||
COPY ./static ./static | ||
COPY ./src/ ./src | ||
|
||
COPY package*.json . | ||
|
||
RUN npm install | ||
RUN corepack enable | ||
|
||
COPY static static/ | ||
COPY gsource gsource/ | ||
COPY src/*.js src/ | ||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile | ||
|
||
EXPOSE 8080 | ||
|
||
CMD ["npm", "start"] | ||
CMD ["pnpm", "start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.