Skip to content

Commit

Permalink
updated auth token in step 4/5
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahanaBaliyambra committed Dec 20, 2024
1 parent 64af687 commit 80a5ac0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ jobs:
# Step 4: Create a GitHub Release
- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ env.VERSION }}
name: Release ${{env.VERSION}}
tag_name: ${{ env.VERSION }}
release_name: Release ${{env.VERSION}}
body: |
This release contains the terraform configuration for version ${{ env.VERSION }}.
draft: false
Expand All @@ -58,6 +60,8 @@ jobs:
# Step 5: Upload the ZIP file to the release
- name: Upload the ZIP file
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: artifacts/Resource_Manager_Template-${{ env.VERSION }}.zip
Expand Down

0 comments on commit 80a5ac0

Please sign in to comment.