fixed blockquote color #104
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
on: push | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Re-deploy depdendents | |
if: ${{ github.ref == 'refs/heads/develop' }} | |
uses: actions/github-script@v6 | |
with: | |
github-token: ${{ secrets.DEPLOY50_PAT }} | |
script: | | |
const dependents = [ | |
['ai', '2020/x'], | |
['ai', '2023/fall'], | |
['ap', '2022'], | |
['beyond', '2019/x'], | |
['business', '2017/x'], | |
['business', '2023/fall'], | |
['cs50.tf', 'main'], | |
['cybersecurity', '2023/fall'], | |
['cybersecurity', '2023/x'], | |
['games', '2018/x'], | |
['harvard', '2023/fall'], | |
['harvard', '2023/x'], | |
['hbap.io', 'main'], | |
['law', '2019/x'], | |
['mobile', '2018/x'], | |
['python', '2022/x'], | |
['scratch', '2021/x'], | |
['sql', '2023/fall'], | |
['sql', '2023/x'], | |
['technology', '2017/x'], | |
['web', '2020/x'], | |
['web', '2023/fall'], | |
['yale', '2023/fall'] | |
]; | |
for (let dependent of dependents) { | |
await github.rest.actions.createWorkflowDispatch({ | |
owner: 'cs50', | |
repo: dependent[0], | |
workflow_id: 'main.yml', | |
ref: dependent[1] | |
}); | |
} |