Skip to content

Commit

Permalink
new ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Fir121 committed Apr 19, 2024
1 parent 5846107 commit 0814553
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,24 @@ on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: actions/setup-python@v3

- name: Install and Build 🔧
run: |
pip install -r requirements.txt
mkdocs build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
python-version: 3.x
- run: pip install -r requirements.txt
- run: mkdocs gh-deploy
folder: build
force: false

0 comments on commit 0814553

Please sign in to comment.