Skip to content

Commit

Permalink
fix: adjusted github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Kuidja <[email protected]>
  • Loading branch information
Marcjazz committed Oct 25, 2024
1 parent 78e981b commit 86e81da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy MkDocs to GitHub Pages
on:
push:
branches:
- main # Trigger workflow only on pushes to the main branch
- master # Trigger workflow only on pushes to the main branch

jobs:
deploy:
Expand All @@ -28,4 +28,6 @@ jobs:
# Build and deploy the site to GitHub Pages
- name: Deploy to GitHub Pages
run: |
sed "s/your-username/${{github.repository_owner}}/g" ./README.md
sed "s/my-mkdocs-project/${{github.repository}}/g" ./README.md
mkdocs gh-deploy --force
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To run the project locally and preview the documentation:

2. **Install MkDocs and dependencies**:
```bash
pip install mkdocs-material
pip install mkdocs
```

3. **Run the MkDocs development server**:
Expand Down

0 comments on commit 86e81da

Please sign in to comment.