未验证 提交 9e31bbe9 编写于 作者: LinuxSuRen's avatar LinuxSuRen 提交者: GitHub

Bump git backup action to v0.0.4 (#8)

* Bump git backup action to v0.0.4

* Do not trigger the backup action with pr
上级 7deeb277
......@@ -4,9 +4,6 @@ on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
git-repo-backup:
......@@ -14,12 +11,12 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Backup to gitee
uses: jenkins-zh/git-backup-actions@master
uses: jenkins-zh/git-backup-actions@v0.0.4
env:
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
TARGET_GIT: "git@gitee.com:jenkins-zh/jenkins-open-tutorial.git"
- name: Backup to CodeChina
uses: jenkins-zh/git-backup-actions@master
uses: jenkins-zh/git-backup-actions@v0.0.4
env:
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
TARGET_GIT: "git@codechina.csdn.net:jenkins-zh/jenkins-open-tutorial.git"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册