Skip to content

Commit

Permalink
Added
Browse files Browse the repository at this point in the history
  • Loading branch information
silversonicaxel committed Oct 3, 2024
1 parent 0aa469e commit 413b09e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 74 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/deployment.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/playwright.yml

This file was deleted.

21 changes: 18 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
name: Test variables

on: push
on: pull_request

jobs:
build:
name: Get variables
runs-on: ubuntu-latest

environment:
name: preview

steps:
- name: Print name
run: echo "Hello the NEXT_MONGO_DB_URL is ${{secrets.NEXT_MONGO_DB_URL}}"
- 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 }}"

0 comments on commit 413b09e

Please sign in to comment.