mirror of
https://github.com/streamich/react-use.git
synced 2025-12-08 18:02:14 +00:00
22 lines
531 B
YAML
22 lines
531 B
YAML
name: Node.js CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
mirror:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Push To Gitlab
|
|
env:
|
|
token: ${{ secrets.GITLAB_TOKEN }}
|
|
run: |
|
|
git config user.name "streamich"
|
|
git config user.email "react-use+streamich@users.noreply.github.com"
|
|
git remote add mirror "https://oauth2:${token}@gitlab.com/streamich/react-use.git"
|
|
git push mirror master
|