Skip to content

Commit

Permalink
ci: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
killmenot committed Apr 17, 2024
1 parent 0e6cd88 commit 5e706f8
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,8 @@ jobs:
build-and-push:
name: "Build and push docker image"
runs-on: ubuntu-latest
environment: staging
outputs:
environment: $([[ '${{ github.event.action }}' == 'prereleased' ]] && 'staging' || 'production')
environment: $([[ '${{ github.event.action }}' == 'prereleased' ]] && 'staging' || 'production')
steps:
# - id: extract
# name: Extract environment
# run: echo "environment=" >> $GITHUB_OUTPUT

# - name: Print environment
# run: 'echo "Extracted environment: $EXTRACTED"'
# env:
# EXTRACTED: ${{ steps.extract.outputs.environment }}

- name: Print variables
run: echo "${{ toJSON(vars)}}"

Expand Down

0 comments on commit 5e706f8

Please sign in to comment.