deploy-to-azure
deploy-to-azure copied to clipboard
[Bug] 2-setup-azure-environment.yml Error
Summary
The environment should use 'with' not 'env' from line 84 to line 100. I kept facing this issue wondering why environment variables weren't being set
How to reproduce
Prereq: On Mac
- Following all Instructions beginning this Lab
- Upon Editing the deployment file with your username Github Actions will run and give you this Error
Screenshots
SOLUTION
I changed the lines 84 - 100 for 'env' -> 'with' in 2-setup-azure-environment.yml and it resolved the issue.
This was also resolved with #38 by changing the path in pull-main.sh to initialize-repository.sh
This was also resolved with #38 by changing the path in pull-main.sh to initialize-repository.sh
I had a permission denied error after changing the name to initialize-repository.sh.
I resolved it by adding an extra command
- name: Pull main
run: |
chmod +x ./.github/script/initialize-repository.sh
./.github/script/initialize-repository.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
This was also resolved with #38 by changing the path in pull-main.sh to initialize-repository.sh
Sounds like this solved it so I'll close it out but please reopen if I misunderstood.