From 86519d60cdfa89f3fad7c8a758559b8b0bc07a87 Mon Sep 17 00:00:00 2001 From: Dan Groshev Date: Thu, 29 Feb 2024 14:42:17 +0000 Subject: [PATCH] unbork "unbork publish-new" (#3003) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bring back the template publishing stuff, now with a problem fixed https://github.com/tldraw/tldraw/pull/2999 ### Change Type - [x] `internal` — Any other changes that don't affect the published package --- .github/workflows/publish-manual.yml | 2 +- .github/workflows/publish-new.yml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish-manual.yml b/.github/workflows/publish-manual.yml index 4867524bb..f8d4658ec 100644 --- a/.github/workflows/publish-manual.yml +++ b/.github/workflows/publish-manual.yml @@ -27,7 +27,7 @@ jobs: publish_templates: name: Publishes code templates to separate repositories - uses: tldraw/tldraw/.github/workflows/publish-templates.yml@dan/mirror-examples + uses: tldraw/tldraw/.github/workflows/publish-templates.yml@main secrets: VITE_TEMPLATE_REPO_SSH_DEPLOY_KEY: ${{ secrets.VITE_TEMPLATE_REPO_SSH_DEPLOY_KEY }} NEXTJS_TEMPLATE_REPO_SSH_DEPLOY_KEY: ${{ secrets.NEXTJS_TEMPLATE_REPO_SSH_DEPLOY_KEY }} diff --git a/.github/workflows/publish-new.yml b/.github/workflows/publish-new.yml index c4eb35e8a..debf56ee4 100644 --- a/.github/workflows/publish-new.yml +++ b/.github/workflows/publish-new.yml @@ -66,12 +66,12 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} HUPPY_TOKEN: ${{ secrets.HUPPY_TOKEN }} - # publish_templates: - # name: Publishes code templates to separate repositories - # uses: tldraw/tldraw/.github/workflows/publish-templates.yml@dan/mirror-examples - # secrets: - # VITE_TEMPLATE_REPO_SSH_DEPLOY_KEY: ${{ secrets.VITE_TEMPLATE_REPO_SSH_DEPLOY_KEY }} - # NEXTJS_TEMPLATE_REPO_SSH_DEPLOY_KEY: ${{ secrets.NEXTJS_TEMPLATE_REPO_SSH_DEPLOY_KEY }} - # needs: [ - # deploy - # ] + publish_templates: + name: Publishes code templates to separate repositories + uses: tldraw/tldraw/.github/workflows/publish-templates.yml@main + secrets: + VITE_TEMPLATE_REPO_SSH_DEPLOY_KEY: ${{ secrets.VITE_TEMPLATE_REPO_SSH_DEPLOY_KEY }} + NEXTJS_TEMPLATE_REPO_SSH_DEPLOY_KEY: ${{ secrets.NEXTJS_TEMPLATE_REPO_SSH_DEPLOY_KEY }} + needs: [ + deploy + ]