1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/openLuat-luatos-soc-air105

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
sync_from_gitee.yml 900
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
chenxuuu Отправлено 2 лет назад 4191fde
name: sync_from_gitee
on:
workflow_dispatch:
schedule:
#ÿʱ䶨ʱͬ
- cron: '0 3 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: sync from gitee
run: |
git remote add gitee https://gitee.com/openLuat/luatos-soc-air105.git
sudo sh -c "curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o /usr/local/bin/retry && chmod +x /usr/local/bin/retry"
retry 'git pull gitee master'
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/openLuat-luatos-soc-air105.git
git@gitlife.ru:oschina-mirror/openLuat-luatos-soc-air105.git
oschina-mirror
openLuat-luatos-soc-air105
openLuat-luatos-soc-air105
master