Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: silversonicaxel/unknown-art
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2c697334c6457a34140135a8dbf965597dfaa0a2
Choose a base ref
..
head repository: silversonicaxel/unknown-art
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1f30cb01de27abf7657dfc1407f520fca12355f6
Choose a head ref
Showing with 10 additions and 5 deletions.
  1. +10 −5 .github/workflows/test.yml
15 changes: 10 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -7,11 +7,16 @@ jobs:
name: Get variables
runs-on: ubuntu-latest
steps:
- name: Print secret
- 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"
- name: Print variable
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: ${{ secrets.NEXT_PUBLIC_NODE_ENV }}
run: echo "Hello the NEXT_PUBLIC_NODE_ENV is $NEXT_PUBLIC_NODE_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 }}"