Skip to content

Commit

Permalink
Build the excalidraw backend
Browse files Browse the repository at this point in the history
  • Loading branch information
benbz committed Feb 28, 2024
1 parent 2ecbcfc commit 90bc454
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker-publish-individual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
folder:
required: true
type: string
repository:
required: false
type: string
default: ""
ref:
required: false
type: string
default: ""
secrets:
github-token:
required: true
Expand All @@ -27,6 +35,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Checkout other repository
uses: actions/checkout@v3
with:
repository: ${{ inputs.repository }}
ref: ${{ inputs.ref }}
path: ${{ inputs.folder }}
if: ${{ inputs.repository }} != ''

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,12 @@ jobs:
folder: web
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}

build-push-excalidraw:
uses: ./.github/workflows/docker-publish-individual.yml
with:
folder: excalidraw-backend
repository: jitsi/excalidraw-backend
ref: "x21"
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 90bc454

Please sign in to comment.