Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Sep 13, 2024
1 parent 512b182 commit 4331073
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,8 @@ name: Continuous Deployment
on:
workflow_dispatch:


jobs:
run_redundant_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
release_new_version:
needs: run_redundant_test
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down Expand Up @@ -50,7 +32,7 @@ jobs:
- name: Extract project version
run: |
VERSION=$(python -c "import toml; print(toml.load('pyproject.toml')['tool']['poetry']['version'])")
VERSION=$(poetry run python -c "import toml; print(toml.load('pyproject.toml')['tool']['poetry']['version'])")
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Build Documentation
Expand Down

0 comments on commit 4331073

Please sign in to comment.