Skip to content

Commit

Permalink
gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
pwright authored Nov 15, 2023
1 parent 0379f09 commit d46ca0d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and deploy Community Collaboration Guide website

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Build Asciidoc
uses: docker://asciidoctor/docker-asciidoctor
with:
args: "asciidoctor getting_started_guide/main.adoc -o index.html"

- name: Copy output to docs/
run: |
mkdir docs
mv index.html docs/
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs

0 comments on commit d46ca0d

Please sign in to comment.