Skip to content

Commit

Permalink
Rename ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
StrangeRanger committed Aug 7, 2024
1 parent a4dc57e commit 8e0b6ad
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 47 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci.yml

This file was deleted.

37 changes: 16 additions & 21 deletions .github/workflows/mkdocs-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,26 @@
name: Deploy MkDocs Site
name: Deploy customized unix terminal github page

on:
push:
branches:
- main
# Runs on pushes targeting the default branch
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest

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

- name: Set up Python
uses: actions/setup-python@v4
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install MkDocs and Deploy Dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material mkdocs-gh-deploy
- name: Deploy MkDocs Site
run: mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: pip install -r mkdocs-requirements.txt
- run: mkdocs gh-deploy --force

0 comments on commit 8e0b6ad

Please sign in to comment.