deploy-to-azure icon indicating copy to clipboard operation
deploy-to-azure copied to clipboard

[Bug] 2-setup-azure-environment.yml Error

Open shearpaladin opened this issue 2 years ago • 2 comments

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

  1. Following all Instructions beginning this Lab
  2. Upon Editing the deployment file with your username Github Actions will run and give you this Error

Screenshots

Screenshot 2023-06-04 at 1 05 17 PM

SOLUTION

I changed the lines 84 - 100 for 'env' -> 'with' in 2-setup-azure-environment.yml and it resolved the issue.

Screenshot 2023-06-04 at 1 32 44 PM

shearpaladin avatar Jun 04 '23 19:06 shearpaladin

This was also resolved with #38 by changing the path in pull-main.sh to initialize-repository.sh

shearpaladin avatar Jun 04 '23 19:06 shearpaladin

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 }}

yl2049 avatar Jun 06 '23 15:06 yl2049

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.

hectorsector avatar May 22 '24 20:05 hectorsector