-
-
Notifications
You must be signed in to change notification settings - Fork 877
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy web.ente.io This is the first deployment since we switched to this monorepo. The previous deployment of photos app was ente-io/photos-web#1595.
- Loading branch information
Showing
636 changed files
with
40,699 additions
and
13,047 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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 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 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 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,24 @@ | ||
name: "Release (copycat-db)" | ||
|
||
on: | ||
workflow_dispatch: # Run manually | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
name: Check out code | ||
|
||
- uses: mr-smithers-excellent/docker-build-push@v6 | ||
name: Build & Push | ||
with: | ||
dockerfile: infra/copycat-db/Dockerfile | ||
directory: infra/copycat-db | ||
image: ente/copycat-db | ||
registry: rg.fr-par.scw.cloud | ||
enableBuildKit: true | ||
buildArgs: GIT_COMMIT=${GITHUB_SHA} | ||
tags: ${GITHUB_SHA}, latest | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} |
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,47 @@ | ||
name: "Deploy (docs)" | ||
|
||
on: | ||
# Run on every push to main that changes docs/ | ||
push: | ||
branches: [main] | ||
paths: | ||
- "docs/**" | ||
- ".github/workflows/docs-deploy.yml" | ||
# Also allow manually running the workflow | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
working-directory: docs | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup node and enable yarn caching | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "yarn" | ||
cache-dependency-path: "docs/yarn.lock" | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Build production site | ||
# Will create docs/.vitepress/dist | ||
run: yarn build | ||
|
||
- name: Publish | ||
uses: cloudflare/pages-action@1 | ||
with: | ||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
projectName: ente | ||
branch: help | ||
directory: docs/docs/.vitepress/dist | ||
wranglerVersion: "3" |
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,37 @@ | ||
name: "Verify build (docs)" | ||
|
||
# Preflight build of docs. This allows us to ensure that yarn build is | ||
# succeeding before we merge the PR into main. | ||
|
||
on: | ||
# Run on every push to a branch other than main that changes docs/ | ||
push: | ||
branches-ignore: [main] | ||
paths: | ||
- "docs/**" | ||
- ".github/workflows/docs-verify-build.yml" | ||
|
||
jobs: | ||
verify-build: | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
working-directory: docs | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup node and enable yarn caching | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "yarn" | ||
cache-dependency-path: "docs/yarn.lock" | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Build production site | ||
run: yarn build |
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 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 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 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 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 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: "Deploy (accounts)" | ||
|
||
on: | ||
push: | ||
# Run workflow on pushes to the deploy/accounts | ||
branches: [deploy/accounts] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
working-directory: web | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup node and enable yarn caching | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "yarn" | ||
cache-dependency-path: "docs/yarn.lock" | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Build accounts | ||
run: yarn build:accounts | ||
|
||
- name: Publish accounts | ||
uses: cloudflare/pages-action@1 | ||
with: | ||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
projectName: ente | ||
branch: deploy/accounts | ||
directory: web/apps/accounts/out | ||
wranglerVersion: "3" |
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: "Deploy (auth)" | ||
|
||
on: | ||
push: | ||
# Run workflow on pushes to the deploy/auth | ||
branches: [deploy/auth] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
working-directory: web | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup node and enable yarn caching | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "yarn" | ||
cache-dependency-path: "docs/yarn.lock" | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Build auth | ||
run: yarn build:auth | ||
|
||
- name: Publish auth | ||
uses: cloudflare/pages-action@1 | ||
with: | ||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
projectName: ente | ||
branch: deploy/auth | ||
directory: web/apps/auth/out | ||
wranglerVersion: "3" |
Oops, something went wrong.