Skip to content

Commit

Permalink
DEV-441 hdforce v1.1.2 w/ update to github actions yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
laureng-hd committed Aug 1, 2024
1 parent 56f0540 commit 6e4b4a9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Install Poetry
if: steps.cache.outputs.cache-hit != 'true'
run:
run: |
python -m pip install --upgrade pip
pip install poetry
Expand Down Expand Up @@ -73,4 +73,4 @@ jobs:
with:
pypi_token: ${{ secrets.TEST_PYPI_TOKEN }}
repository_name: "testpypi"
repository_url: "https://test.pypi.org/legacy/"
repository_url: "https://test.pypi.org/legacy/"
21 changes: 9 additions & 12 deletions .github/workflows/python-docpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,18 @@
name: Publish Docs Page

on:
pull_request_target:
types:
- closed
pull_request:
branches:
- 'main'
paths:
- '**.md'
- main
types: [closed]

permissions:
contents: write

jobs:

deploy:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -27,16 +24,16 @@ jobs:
with:
python-version: '3.x'

- name:
- name: Cache dependencies
uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache

- name: install mkdocs
run:
- name: Install mkdocs
run: |
pip install mkdocs
pip install mkdocs-material
- name: deploy-page
run: mkdocs gh-deploy --force
- name: Deploy page
run: mkdocs gh-deploy --force
5 changes: 5 additions & 0 deletions .github/workflows/tag-release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4

- name: Fix Git ownership issue
run: |
git config --global --add safe.directory /github/workspace
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
plugins: "poetry-dynamic-versioning[plugin]"
6 changes: 2 additions & 4 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Update README Badges

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
- main
types: [closed]

jobs:
update-readme:
Expand Down

0 comments on commit 6e4b4a9

Please sign in to comment.