Skip to content

Commit

Permalink
refactor: finish move to monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswpark committed Jul 16, 2023
1 parent a657f48 commit 7396761
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

version: 2
updates:
# Maintain dependencies for Python packages
# Maintain dependencies for server Python packages
- package-ecosystem: "pip"
directory: "/"
directory: "./server"
schedule:
interval: "daily"
# Maintain dependencies for shippy Python packages
- package-ecosystem: "pip"
directory: "./shippy"
schedule:
interval: "daily"
# Maintain dependencies for GitHub Actions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/server-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v4
with:
context: ./backend
context: ./server
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/shippy-pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload shippy Python package to PyPI

on:
push:
tags:
- '*.*.*'

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4.6.0
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
working-directory: ./shippy
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: ./release.sh
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions shippy
Submodule shippy added at d5c35d

0 comments on commit 7396761

Please sign in to comment.