added random token to getSVG.py as well as random ids to images gener… #3
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: Mirror | |
on: ["push", "delete"] | |
jobs: | |
igem-gitlab: | |
name: iGEM GitLab | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # all branches and tags | |
- name: Mirror repository | |
uses: genoswitch/repository-mirroring-action@a76d61cd1d28ee9e2ab5b6b19cc825736f02b38d | |
with: | |
target_repo_url: [email protected]:jcxldn/City-of-London-UK_software.git | |
ssh_private_key: ${{ secrets.GITLAB_SSH_KEY }} | |
merge: | |
name: Merge | |
if: github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger Repository Dispatch | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.MERGE_PAT }} | |
repository: genoswitch/software-judging | |
event-type: merge_repo | |
client-payload: '{"job": "merge-v2", "repo": "software", "branch": "main", "path": "software"}' |