Configure environment
This commit is contained in:
parent
e5bc16e676
commit
73603a7572
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -8,6 +8,7 @@ jobs:
|
||||
name: Development Build
|
||||
if: github.ref != 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
permissions:
|
||||
contents: read
|
||||
deployments: write
|
||||
@ -36,6 +37,7 @@ jobs:
|
||||
name: Production Build
|
||||
if: github.ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
permissions:
|
||||
contents: read
|
||||
deployments: write
|
||||
|
Loading…
x
Reference in New Issue
Block a user