Skip to content

Commit

Permalink
refactor: tidy up names for action steps
Browse files Browse the repository at this point in the history
  • Loading branch information
devraj committed Jun 29, 2024
1 parent 7e6a70f commit 23d7ece
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
name: build-docs
name: publish-docs
run-name: Publish Docs to GitHub Pages by @${{ github.actor }}
on:
push:
branches:
- master
paths:
- docs/**
- .github/**
- .github/workflows/deploy-docs.yml
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Checkout source code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install poetry
- run: poetry install
- run: cd docs && poetry run mkdocs gh-deploy --force --clean --verbose
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Build and Publish to GH Pages
run: cd docs && poetry run mkdocs gh-deploy --force --clean --verbose
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: ci
run-name: Run tests by @${{ github.actor }}
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 23d7ece

Please sign in to comment.