Skip to content

Mirror Repository

Mirror Repository #1

Workflow file for this run

name: Mirror Repository
run-name: Mirror Repository
on:
push:
branches:
- main
# - dev
workflow_dispatch:
env:
public_repository: "github.com/harvard-huit/py-pds"
branch_name: ${{ github.ref_name }}
defaults:
run:
shell: bash
jobs:
mirror:
name: Mirror Repository
runs-on: ubuntu-latest
steps:
- name: Mirror Action
uses: HUIT/[email protected]
with:
# Required
local_repository: github.huit.harvard.edu/HUIT/py-pds
local_github_user: ${{ github.actor }} # from the event context
local_github_token: ${{ github.token }} # from the event context
remote_repository: ${{ env.public_repository }}
remote_github_user: jazahn
remote_github_token: ${{ secrets.PUBLIC_GITHUB_TOKEN }}