Skip to content

Commit

Permalink
update django workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto committed Sep 23, 2023
1 parent 091c576 commit 0820ae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-cakephp5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
with:
app-name: ${{ vars.AZURE_WEBAPP_NAME }}
slot-name: 'Production'
package: .
package: ${{ env.ARCHIVE_NAME }}

- name: Az CLI Logout
run: az logout
6 changes: 2 additions & 4 deletions .github/workflows/python-django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
env:
PYTHON_VERSION: '3.11'
WORKING_DIRECTORY: python/django
PACKAGE_NAME: django-app

permissions:
id-token: write
Expand Down Expand Up @@ -43,7 +42,7 @@ jobs:
- name: Upload artifact for deployment jobs
uses: actions/upload-artifact@v2
with:
name: ${{ env.PACKAGE_NAME }}
name: python-app
path: |
./${{ env.WORKING_DIRECTORY }}
!./${{ env.WORKING_DIRECTORY }}/venv/
Expand All @@ -59,7 +58,7 @@ jobs:
- name: Download artifact from build job
uses: actions/download-artifact@v2
with:
name: ${{ env.PACKAGE_NAME }}
name: python-app
path: .

- name: Az CLI Login
Expand All @@ -75,7 +74,6 @@ jobs:
with:
app-name: ${{ vars.AZURE_WEBAPP_NAME }}
slot-name: 'Production'
package: ${{ env.PACKAGE_NAME }}

- name: Az CLI Logout
run: az logout

0 comments on commit 0820ae3

Please sign in to comment.