Skip to content

Commit

Permalink
[skip ci] basic sync envs docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Oct 28, 2024
1 parent a904fe5 commit 4d9feac
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/sync-envs-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Sync ENV variables docs

on:
workflow_dispatch:

jobs:
run:
name: Run
runs-on: ubuntu-latest
steps:
- name: Copy files to Blockscout Docs repository
uses: lubu12/copy-files-to-repository@v1
env:
API_TOKEN_GITHUB: ${{ secrets.GITHUB_TOKEN }}
with:
source-files: 'docs/ENVS.md docs/DEPRECATED_ENVS.md'
destination-username: 'blockscout-bot'
destination-repository: 'blockscout/docs'
destination-directory: 'docs/setup/env-variables/frontend-common-envs'
commit-email: 'tom@blockscout.com'

0 comments on commit 4d9feac

Please sign in to comment.