display changes to support local council scorecards #1347
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
# If linting checks pass ok, push to the git.mysociety.org mirror | |
# Note: the git.mysociety.org repo pushes to this repo, and has priority. | |
# Force pushes will need to be made through other means. | |
name: Mirror to git.mysociety.org | |
on: | |
push: | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yml | |
mirror: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Push branch to git.mysociety.org | |
id: push_to_mirror | |
uses: mysociety/[email protected] | |
with: | |
git_ssh_key: ${{ secrets.PUBLICCVS_GIT_KEY }} | |
ssh_known_hosts: ${{ secrets.GIT_KNOWN_HOSTS }} | |
tag: ${{ github.ref_name }} | |
remote: 'ssh://[email protected]/data/git/public/local-intelligence-hub.git' |