【发布时间】:2020-01-22 13:12:23
【问题描述】:
问题:
如何在GitHub 工作流中添加 git 凭据?
nodejs.yml
name: Node CI
on:
push:
branches:
- master
- gh-pages
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm run deploy
run: |
npm install
npm run deploy
env:
CI: t
【问题讨论】:
-
这是什么 CI?特拉维斯 CI?
-
github 工作流程和操作
标签: git github automation continuous-deployment