1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Files
docs/data/reusables/enterprise-migration-tool/env-variables-gei.md
Laura Coursen 2bd845f23b [Megabranch] Add new top-level docset, "Migrations" (#35085)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: Vanessa <vgrl@github.com>
2023-03-09 14:47:35 +00:00

585 B

  1. Set environment variables for the {% data variables.product.pat_generic %}s, replacing TOKEN in the commands below with the {% data variables.product.pat_generic %}s you recorded above. Use GH_PAT for the destination organization and GH_SOURCE_PAT for the source organization.

    • If you're using Terminal, use the export command.

      export GH_PAT="TOKEN"
      export GH_SOURCE_PAT="TOKEN"
      
    • If you're using PowerShell, use the $env command.

      $env:GH_PAT="TOKEN"
      $env:GH_SOURCE_PAT="TOKEN"