Skip to content

internal: Rename master branch to main (#3116) #307

internal: Rename master branch to main (#3116)

internal: Rename master branch to main (#3116) #307

Workflow file for this run

name: Doc
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'website/**'
- '.github/workflows/doc.yml'
jobs:
doc:
name: Update docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Git
run: |
git config --global user.email "leo@xerial.org"
git config --global user.name "Taro L. Saito"
git config --global push.default simple
- name: Setup Deploy
run: |
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
- name: Publish doc
env:
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
run: ./sbt docs/docusaurusPublishGhpages