Added test for main #14
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 secret | |
env: | |
NEXT_MONGO_DB_URL: ${{ secrets.NEXT_MONGO_DB_URL }} | |
run: echo "Hello the NEXT_MONGO_DB_URL is $NEXT_MONGO_DB_URL" | |
- name: Print variable | |
env: | |
NEXT_PUBLIC_NODE_ENV: ${{ secrets.NEXT_PUBLIC_NODE_ENV }} | |
run: echo "Hello the NEXT_PUBLIC_NODE_ENV is $NEXT_PUBLIC_NODE_ENV" |