Sync ENV variables docs #15
Workflow file for this run
This file contains 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: Sync ENV variables docs | |
on: | |
workflow_dispatch: | |
jobs: | |
run: | |
name: Run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Copy main ENV file to Blockscout Docs repository | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.GITHIB_BOT_TOKEN }} | |
with: | |
source_file: 'docs/ENVS.md' | |
destination_repo: 'blockscout/docs' | |
destination_folder: 'setup/env-variables/frontend-common-envs' | |
destination_branch: 'master' | |
user_email: '[email protected]' | |
user_name: 'blockscout-bot' | |
use_rsync: true | |
- name: Copy deprecated ENV file to Blockscout Docs repository | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.GITHIB_BOT_TOKEN }} | |
with: | |
source_file: 'docs/DEPRECATED_ENVS.md' | |
destination_repo: 'blockscout/docs' | |
destination_folder: 'setup/env-variables/frontend-common-envs' | |
destination_branch: 'master' | |
user_email: '[email protected]' | |
user_name: 'blockscout-bot' | |
use_rsync: true |