Skip to content

Push generated files to the given repository #22

Push generated files to the given repository

Push generated files to the given repository #22

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