小编Ali*_*Ali的帖子

如何使用个人访问令牌在 github 操作工作流程 (B) 中从不同的存储库 (B) 提交并推送到私有存储库 (A)

name: deploy-me
on: [push]
jobs:
  deploys-me:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: '14'
      - run: npm install
      - run: npm run dev

     //Next  I want to copy some file from this repo and commit to a different repo and push it
Run Code Online (Sandbox Code Playgroud)

这是我的工作流程.yaml 文件,

之后npm run dev,我希望能够将文件复制到另一个目录,提交并推送到另一个存储库

git github devops github-actions

7
推荐指数
1
解决办法
5509
查看次数

标签 统计

devops ×1

git ×1

github ×1

github-actions ×1