Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

Fix docs rate limit action error (#9098)

Josh Corbettb9bd8ef75905
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index 931ba089dc..f52cc772d2 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -116,6 +116,7 @@ jobs:
working-directory: docs
env:
DEPLOY_TARGET: ${{ github.event_name == 'workflow_dispatch' && inputs.deploy_target || github.ref == 'refs/heads/main' && 'ghpages' || 'custom' }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Upload artifact for deploy (main branch only)
- name: upload pages artifact
diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml
deleted file mode 100644
index 111ea4c81b..0000000000
--- a/.github/workflows/translations.yml
+++ /dev/null
@@ -1,78 +0,0 @@
-name: Crowdin Translations
-
-on:
- # Allow manual runs from the Actions tab
- workflow_dispatch:
- inputs:
- upload_sources:
- description: 'Upload source strings to Crowdin'
- type: boolean
- default: true
- download_translations:
- description: 'Download translations from Crowdin'
- type: boolean
- default: true
-
- # Upload sources & download translations when source files change on main
- push:
- branches:
- - main
- paths:
- - 'invokeai/frontend/web/public/locales/en.json'
- - 'docs/src/content/i18n/en.json'
- - 'docs/src/content/docs/**/*.md'
- - 'docs/src/content/docs/**/*.mdx'
- - '!docs/src/content/docs/[a-z][a-z]/**'
- - '!docs/src/content/docs/[a-z][a-z]-*/**'
- - 'crowdin.yml'
-
-permissions:
- contents: write
- pull-requests: write
-
-jobs:
- crowdin-sync:
- name: Sync with Crowdin
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Crowdin Sync
- uses: crowdin/github-action@v2
- with:
- # Upload sources on push to main or when manually requested
- upload_sources: ${{ github.event_name != 'workflow_dispatch' || inputs.upload_sources }}
- upload_translations: false
-
- # Download translations on push to main or when manually requested
- download_translations: ${{ github.event_name != 'workflow_dispatch' || inputs.download_translations }}
-
- # PR settings for downloaded translations
- create_pull_request: true
- pull_request_title: 'i18n: update translations from Crowdin'
- pull_request_body: |
- Automated pull request from [Crowdin](https://crowdin.com).
-
- This PR updates translations for:
- - **Web App UI** (`invokeai/frontend/web/public/locales/`)
- - **Documentation UI Strings** (`docs/src/content/i18n/`)
- - **Documentation Content** (`docs/src/content/docs/<locale>/`)
- pull_request_base_branch_name: main
- pull_request_labels: 'i18n'
-
- # Commit settings
- localization_branch_name: crowdin/translations
- commit_message: 'i18n: update translations from Crowdin'
-
- # Use the config file at the repo root
- config: crowdin.yml
-
- # Skip untranslated strings/files to keep partial translations clean
- download_translations_args: '--skip-untranslated-strings'
-
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
- CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}