PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, July 13, 2022

[FIXED] How to deploy a specific django folder in a repository to an azure app service?

 July 13, 2022     azure, django, web-deployment     No comments   

Issue

I have a Github repository with the folders back-end and front-end. The folder back-end contains a folder custom-site, which contains a Django project.

I would like to use Azure to deploy this Django project, but it seems that Azure only attempts to deploy the root folder of the repository. How do I indicate that the back-end/custom-site/ folder should be used as root?


Solution

For future purposes:

I fixed it by changing the yml file. More specifically I modified the path in the section on uploading the artifact for deployment jobs.

- name: Upload artifact for deployment jobs
  uses: actions/upload-artifact@v2
  with:
    name: python-app
    path: ./path/to/your/directory/


Answered By - user15116257
Answer Checked By - Cary Denson (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing