Skip to content

Add enableAutoTrackingIP & disableAutoTrackingIP (#131) #5

Add enableAutoTrackingIP & disableAutoTrackingIP (#131)

Add enableAutoTrackingIP & disableAutoTrackingIP (#131) #5

Workflow file for this run

name: Deploy Docs Microsite
on:
workflow_dispatch:
inputs:
tags:
description: 'Who triggered this test run?'
push:
branches:
- master
paths:
- 'TreasureData/**.h'
jobs:
deploy-docs-microsite:
name: Build and Deploy Docs microsite to treasure-data.github.io/td-ios-sdk
runs-on: macos-latest
continue-on-error: true
steps:
- name: Setup
continue-on-error: true
uses: actions/setup-ruby@v1
with:
ruby-version: '2.7'
- run: gem install jazzy
- name: git checkout
uses: actions/checkout@v2
with:
persistent-creadentials: false
fetch-depth: 0
repository: 'treasure-data/td-ios-sdk'
ref: 'master'
path: td-ios-sdk
- name: git checkout
uses: actions/checkout@v2
with:
persistent-creadentials: false
fetch-depth: 0
repository: 'treasure-data/td-ios-sdk'
ref: 'gh-pages'
path: gh-pages
- name: build docs
continue-on-error: true
run: |
cd $GITHUB_WORKSPACE/td-ios-sdk
sudo jazzy --config .jazzy.yaml -o $GITHUB_WORKSPACE/gh-pages
- name: Commit Docs
run: |
cd $GITHUB_WORKSPACE/gh-pages
git config user.email "[email protected]"
git config user.name "ci-bot"
git status
git add ./*
git commit -m "[ci-bot] Updating docs microsite to latest from master"
- name: deploy docs
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
directory: gh-pages