microsoft / qsharp-language

Official repository for design of the quantum programming language Q# and its core libraries
MIT License
235 stars 56 forks source link

Adding a script through GitHub actions to sync with the docs repo #56

Closed geduardo closed 3 years ago

geduardo commented 3 years ago

Description of the process

Files

There are 4 relevant files:

Workflow

First, there are at least two different branches, main and a copy of main where we are going to host the uid version of the docs (⭐Docs). The GitHub Actions workflow does the following:

  1. Opens a Windows console and checkouts to the repository.
  2. Resets the ⭐Docs branch to match main.
  3. Installs the script and runs it through a click command.
  4. Commits and pushes the changes to ⭐Docs.

NOTE: the link for the .csv file in the .yml file should be updated when the relevant PR is merged in the other repository.