Skip to content

Commit a712d3e

Browse files
David Álvarez Rosa Personal Website Version 3.1
1 parent c24c3da commit a712d3e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99
jobs:
1010
deploy-beta:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
deployments: write
15+
environment:
16+
name: beta
17+
url: https://beta.alvarezrosa.com
1218

1319
steps:
1420
- name: Checkout repo
@@ -34,6 +40,12 @@ jobs:
3440
deploy-production:
3541
if: ${{ github.event.workflow_run.conclusion == 'success' }}
3642
runs-on: ubuntu-latest
43+
permissions:
44+
contents: read
45+
deployments: write
46+
environment:
47+
name: production
48+
url: https://david.alvarezrosa.com
3749

3850
steps:
3951
- name: Checkout repo

0 commit comments

Comments
 (0)