Skip to content

Commit

Permalink
try pages pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Sep 18, 2024
1 parent 23a5e4a commit f0176d2
Show file tree
Hide file tree
Showing 28 changed files with 15 additions and 3,242 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Deploy MkDocs Site to GitHub Pages

on:
push:
branches:
- main
on: [push, pull_request]

permissions: write-all

Expand All @@ -12,6 +9,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: gh-pages

- name: Copy contents to docs/
run: |
mkdir docs/
- name: Checkout main branch
uses: actions/checkout@v3
with:
ref: main
path: docs

- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -28,4 +37,5 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
publish_branch: gh-pages
publish_dir: ./site
321 changes: 0 additions & 321 deletions docs/00.md

This file was deleted.

Loading

0 comments on commit f0176d2

Please sign in to comment.