Skip to content

Commit

Permalink
Update gh-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LifeAdventurer committed Aug 20, 2024
1 parent 5aeb79f commit fb9ac42
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/ci.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- main

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force

0 comments on commit fb9ac42

Please sign in to comment.