Skip to content

Sync Mirror

Sync Mirror #4

Workflow file for this run

name: Sync Staging Repo
on:
push:
branches:
- main
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout smithy-swift
uses: actions/checkout@v4
with:
ref: main
- name: Add staging repo as remote with token
run: |
git remote add staging-repo https://${{ secrets.REPO_SYNC_AUTOMATION_USER_TOKEN }}@github.com/awslabs/private-smithy-swift-staging.git
- name: Push changes to staging repo
run: |
git push staging-repo main