Skip to content

updated pytest workflow and tag-and-release workflow (#6) #2

updated pytest workflow and tag-and-release workflow (#6)

updated pytest workflow and tag-and-release workflow (#6) #2

Workflow file for this run

name: Mirror to Public Repository
on:
push:
branches:
- main
jobs:
mirror:
runs-on: ubuntu-latest
if: github.repository == 'wineslab/libiq'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Set up SSH for pushing to public repo
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan github.com >> ~/.ssh/known_hosts
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
- name: Push to Public Repository
run: |
echo "Pushing to public repository..."
git remote add public git@github.com:wineslab/lib-iq.git
git push public main:main --force