fix: localize attributes properly (#2016) #156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mirror dev to GitLab | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- dev | |
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.8.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 development | |
git push gitlab dev:development |