Skip to content

Commit

Permalink
[#13] refactor after open-api-workflows f59bfa52cc09cd191303d1d8e5436…
Browse files Browse the repository at this point in the history
…0adb80e0ae2
  • Loading branch information
SonnyBA committed Oct 4, 2024
1 parent ea4fae5 commit 915a644
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Set up backend environment
uses: maykinmedia/[email protected]
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'requirements/*.txt'
- name: Install dependencies
run: pip install -r requirements/ci.txt
setup-node: false

- name: Generate environment variable documentation using OAf and check if it was updated
run: |
bin/generate_envvar_docs.sh
Expand All @@ -122,11 +121,19 @@ jobs:
uses: maykinmedia/open-api-workflows/.github/workflows/ci.yml@initial-setup
needs:
- store-reusable-workflow-vars
- tests
with:
main-branch: 'master'
python-version: '3.11'
docker-image-name: ${{ needs.store-reusable-workflow-vars.outputs.image-name }}

open-api-publish:
uses: maykinmedia/open-api-workflows/.github/workflows/publish.yml@initial-setup
needs:
- store-reusable-workflow-vars
- open-api-ci
- tests
with:
docker-image-name: ${{ needs.store-reusable-workflow-vars.outputs.image-name }}
repository-owner: 'maykinmedia'
secrets:
docker-username: ${{ secrets.DOCKER_USERNAME }}
Expand Down

0 comments on commit 915a644

Please sign in to comment.