Skip to content

Fix permissions

Fix permissions #76

Workflow file for this run

name: Deploy Customized Unix Terminal GitHub Page
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pipenv
cache-dependency-path: Pipfile.lock
- name: Install Pipenv
run: python -m pip install pipenv
- name: Install dependencies with Pipenv
run: pipenv install --deploy --ignore-pipfile
- name: Build the site with MkDocs
run: pipenv run mkdocs build --strict
- name: Deploy to GitHub Pages
run: pipenv run mkdocs gh-deploy --force