Skip to content

Replicate

Replicate #4349

Workflow file for this run

name: Replicate
on:
workflow_dispatch:
push:
branches:
- main
schedule:
- cron: 50 4 * * *
jobs:
replicate:
# TODO: Change this to website when merging
if: github.repository == 'exercism/website'
name: Replicate to exercism/website-deployer
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
with:
fetch-depth: 0
- name: Push to Website Deployer
run: |
mkdir ~/.ssh
echo "${{ secrets.WEBSITE_DEPLOYER_CLONE_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
git remote add upstream [email protected]:exercism/website-deployer.git
git push upstream +main