Skip to content

Commit

Permalink
Merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Jul 5, 2024
2 parents 0a7a757 + 8afdb61 commit ddcf762
Show file tree
Hide file tree
Showing 18 changed files with 9,431 additions and 8,044 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/publish-python-package.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,37 @@
name: Publish Python Package

on:
push:
branches:
- master
paths-ignore:
- "CHANGELOG.md"
- "portal/__init__.py"

jobs:
publish-pypi-packages:
name: Publish PyPi Packages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"
architecture: "x64"
- name: Install pip requirements
run: |
pip install pipenv
pipenv install --dev --system
- name: Configure Git
run: |
git config --local user.name cfl-bot
git config --local user.email codeforlife-bot@ocado.com
- name: Release codeforlife-portal
uses: relekang/python-semantic-release@v7.34.6
with:
github_token: ${{ secrets.CFL_BOT_GITHUB_TOKEN }}
pypi_token: ${{ secrets.PYPI_TOKEN }}
continue-on-error: true
- name: Build cfl-common package
run: |
pip install wheel
Expand All @@ -46,8 +43,8 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
packages_dir: cfl_common/dist/
skip_existing: true
packages-dir: cfl_common/dist/
skip-existing: true
- name: Trigger staging deployment
uses: actions/github-script@v6
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
LANG: C.UTF-8
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup python-version
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"
architecture: "x64"
Expand Down
Loading

0 comments on commit ddcf762

Please sign in to comment.