Push generated files to the given repository #22
This file contains hidden or 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
name: Push generated files to the given repository | |
on: | |
workflow_dispatch: | |
inputs: | |
name: | |
description: 'the name of the repository to push files to' | |
required: true | |
type: choice | |
options: | |
- AlgoliaWeb | |
- mcp-node | |
- docs-new | |
- n8n-nodes-algolia | |
jobs: | |
push: | |
name: Push generated files to the given repository | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
fetch-depth: 0 | |
ref: main | |
- name: Setup | |
id: setup | |
uses: ./.github/actions/setup | |
with: | |
type: minimal | |
- run: yarn workspace scripts pushToRepository ${{ inputs.name }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }} | |
GH_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }} | |
FORCE: true |