Positioning #2
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: Status Page CI | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add remote downstream repo | |
run: | | |
git config --unset-all http.https://github.com/.extraheader | |
git remote add downstream https://gcestechnology:${{secrets.DOWNSTREAM_PAT}}@github.com/gcestechnology/status-page.git | |
- name: Check token | |
run: echo ${{secrets.DOWNSTREAM_PAT}} | |
- name: Push changes to downstream repo | |
run: git push -f downstream HEAD:main |