Another attempt at fixing env var #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build from Maven and push to WireMock Cloud | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
build_and_push: | |
runs-on: ubuntu-20.04 | |
environment: ${{ inputs.environment }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run | |
env: | |
WIREMOCK_API_TOKEN: ${{ secrets.WIREMOCK_API_TOKEN }} | |
MOCK_API_ID: ${{ vars.MOCK_API_ID }} | |
run: (cd maven && bash -x ./push-to-wmc.sh) |