Skip to content

Commit

Permalink
added github action to copy docs to gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengill committed Aug 20, 2020
1 parent 07ba23f commit d3172c9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: github pages

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2

- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: './docs'
enable_jekyll: true
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ email: [email protected]
description: >
Write Hubot scripts to run in your Slack team.
baseurl: /hubot-slack
url: http://slackapi.github.io
url: http://slack.dev
repo_name: hubot-slack
dev4slack_channel: sdk-hubot-slack
twitter_username: SlackAPI
Expand Down

0 comments on commit d3172c9

Please sign in to comment.