Skip to content

Commit 65f1bb5

Browse files
authored
ci(deploy): update deploy.yml
1 parent 44b7399 commit 65f1bb5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
jobs:
1515
build:
1616
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read #This is required for actions/checkout
19+
1720
steps:
1821
- name: Checkout repository
1922
uses: actions/checkout@v4
@@ -40,11 +43,9 @@ jobs:
4043
deploy:
4144
runs-on: ubuntu-latest
4245
needs: build
43-
environment:
44-
name: "Production"
45-
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
4646
permissions:
4747
id-token: write #This is required for requesting the JWT
48+
contents: read #This is required for actions/checkout
4849

4950
steps:
5051
- name: Download artifact from build job

0 commit comments

Comments
 (0)