-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#13] refactor after open-api-workflows f59bfa52cc09cd191303d1d8e5436…
…0adb80e0ae2
- Loading branch information
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|