Skip to content

Commit 5f84193

Browse files
author
Mark Pospesel
committed
[CM-640] Add GH action
1 parent 933c7e3 commit 5f84193

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: PublishDocumentation
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push events but only for the main branch
8+
push:
9+
branches: [ main ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "deploy_docs"
17+
deploy_docs:
18+
# The type of runner that the job will run on
19+
runs-on: macos-latest
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24+
- uses: actions/checkout@v1
25+
- name: Publish Jazzy Docs
26+
uses: steven0351/publish-jazzy-docs@v1
27+
with:
28+
personal_access_token: ${{ secrets.ACCESS_TOKEN }}
29+
config: .jazzy.yaml

0 commit comments

Comments
 (0)