Skip to content

Commit

Permalink
Update doc deployment pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahselek committed Oct 20, 2024
1 parent d8f7021 commit f4b4a4a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install Module
Expand All @@ -22,11 +22,16 @@ jobs:
- name: Build Docs
run: mkdocs build
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.0.3
uses: nwtgck/actions-netlify@v3.0
with:
publish-dir: './site'
publish-dir: './dist'
production-branch: master
github-token: ${{ secrets.PERSONAL_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1

0 comments on commit f4b4a4a

Please sign in to comment.