Skip to content

Commit 0a72ead

Browse files
committed
Migrate GitHub Pages deployment from CircleCI to GitHub Actions
CircleCI deploy was failing due to an expired SSH deploy key. Replace the entire pipeline with a GitHub Actions workflow using native Pages deployment — no keys or tokens needed. Also bump action versions in the spell checking workflow.
1 parent 941c1d5 commit 0a72ead

File tree

3 files changed

+45
-56
lines changed

3 files changed

+45
-56
lines changed

.circleci/config.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
permissions:
8+
pages: write
9+
id-token: write
10+
11+
concurrency:
12+
group: pages
13+
cancel-in-progress: false
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: '3.3'
23+
- name: Install AsciiDoctor & Rouge
24+
run: gem install asciidoctor rouge
25+
- name: Build site
26+
run: |
27+
mkdir -p _build/html
28+
asciidoctor -a toc="left" -a toclevels=2 README.adoc -o _build/html/index.html
29+
touch _build/html/.nojekyll
30+
- uses: actions/upload-pages-artifact@v3
31+
with:
32+
path: _build/html
33+
34+
deploy:
35+
needs: build
36+
runs-on: ubuntu-latest
37+
environment:
38+
name: github-pages
39+
url: ${{ steps.deployment.outputs.page_url }}
40+
steps:
41+
- id: deployment
42+
uses: actions/deploy-pages@v4

.github/workflows/spell_checking.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
matrix:
1111
python-version: [3.8]
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v4
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Install dependencies
@@ -26,7 +26,7 @@ jobs:
2626
name: Check spelling with misspell
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v4
3030
- name: Install
3131
run: wget -O - -q https://git.io/misspell | sh -s -- -b .
3232
- name: Misspell

0 commit comments

Comments
 (0)