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 + ]