mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-09 22:25:02 +03:00
ci: restore deploy.yml environments (#59353)
This commit is contained in:
@@ -12,16 +12,13 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
if: github.repository == 'anomalyco/opencode' && (github.ref_name == 'dev' || github.ref_name == 'production' || github.ref_name == 'beta')
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
# production keeps its own environment so dev and beta pushes can never reach production credentials.
|
||||
environment: ${{ github.ref_name == 'production' && 'production' || 'release' }}
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
environment: ${{ github.ref_name }}
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user