Added test for branches #16
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: Test variables | |
on: pull_request | |
jobs: | |
build: | |
name: Get variables | |
runs-on: ubuntu-latest | |
steps: | |
- name: Print secrets | |
env: | |
NEXT_MONGO_DB_URL: ${{ secrets.NEXT_MONGO_DB_URL }} | |
run: | |
echo "Hello the NEXT_MONGO_DB_URL is $NEXT_MONGO_DB_URL" | |
echo "Hello the TEST_MONGO_DB_URL is ${{ secrets.TEST_MONGO_DB_URL }}" | |
- name: Print variables | |
env: | |
NEXT_PUBLIC_NODE_ENV: ${{ vars.NEXT_PUBLIC_NODE_ENV }} | |
run: | |
echo "Hello the NEXT_PUBLIC_NODE_ENV is $NEXT_PUBLIC_NODE_ENV" | |
echo "Hello the TEST_PUBLIC_NODE_ENV is ${{ vars.TEST_PUBLIC_NODE_ENV }}" |