Skip to content

Commit ea9cbbb

Browse files
committed
rm old gh-pages.yml in place of new workflow
1 parent d9f76cf commit ea9cbbb

File tree

2 files changed

+12
-50
lines changed

2 files changed

+12
-50
lines changed

.github/workflows/gh-pages.yml

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,25 @@
1-
name: Deploy to GitHub Pages
1+
name: Deploy GitHub Pages
2+
3+
# NOTE: workflow uses this repo: https://github.com/sphinx-notes/pages
24

35
on:
46
push:
5-
branches: [ main ]
7+
branches: [main]
68

7-
permissions:
8-
contents: read
9-
pages: write
10-
id-token: write
11-
129
concurrency:
1310
group: "pages"
1411
cancel-in-progress: false
1512

1613
jobs:
17-
build:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v4
22-
- name: Setup Pages
23-
uses: actions/configure-pages@v5
24-
- name: Fix anchor tag in README
25-
run: ex -s -c '%s/docs\/getting-started\.md/docs\/getting-started/|x' README.md
26-
- name: Build with Jekyll
27-
uses: actions/jekyll-build-pages@v1
28-
with:
29-
source: ./
30-
destination: ./_site
31-
- name: Upload artifact
32-
uses: actions/upload-pages-artifact@v3
33-
deploy:
14+
pages:
15+
runs-on: ubuntu-20.04
3416
environment:
3517
name: github-pages
3618
url: ${{ steps.deployment.outputs.page_url }}
37-
runs-on: ubuntu-latest
38-
needs: build
19+
permissions:
20+
pages: write
21+
id-token: write
3922
steps:
40-
- name: Deploy to GitHub Pages
41-
id: deployment
42-
uses: actions/deploy-pages@v4
23+
- id: deployment
24+
uses: sphinx-notes/pages@v3
25+

.github/workflows/sphinx.yml

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

0 commit comments

Comments
 (0)