Skip to content

add TLS on TiDB

add TLS on TiDB #29

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Check out my other private repo
uses: actions/checkout@v2.5.0
with:
repository: jackysp/jackysp.github.io
token: ${{ secrets.UPDATE_BLOG }}
path: public
- name: Build
run: make
- name: Pushes to another repository
id: public
uses: cpina/github-action-push-to-another-repository@v1.5.1
env:
API_TOKEN_GITHUB: ${{ secrets.UPDATE_BLOG }}
with:
source-directory: 'public'
destination-github-username: 'jackysp'
destination-repository-name: 'jackysp.github.io'
user-email: jackysp@gmail.com
commit-message: See ORIGIN_COMMIT