Skip to content

Merge tag 'v1.4.0' into staging #18

Merge tag 'v1.4.0' into staging

Merge tag 'v1.4.0' into staging #18

name: Mirror staging to GitLab
on:
workflow_dispatch:
push:
branches:
- staging
jobs:
mirror:
if: github.repository == 'accessibility-exchange/platform'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Git
run: |
git config --global user.name "${{ vars.GIT_USER }}"
git config --global user.email "${{ vars.GIT_EMAIL }}"
git remote add gitlab ${{ vars.GITLAB_URL }}
- name: Setup SSH
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.GITLAB_SSH_KEY }}
- name: Push to GitLab
run: |
ssh-keyscan git.kube.v1.colab.coop >> ~/.ssh/known_hosts
git pull gitlab staging
git push gitlab staging:staging