Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
salmon-raye committed Jan 21, 2024
1 parent 656ba7f commit 24de6de
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: secret-test
name: Use OpenAI Secret

on: [push]

jobs:
Explore-GitHub-Actions:
access-secret:
runs-on: ubuntu-latest
steps:
- name: Hello world action
run: echo "JUST LOADING SECRET ONLY"
env:
- name: Check out repository code
uses: actions/checkout@v2

- name: Access OpenAI Key
run: echo "The secret is ${{ secrets.OPENAI_KEY }}"
env:
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}

0 comments on commit 24de6de

Please sign in to comment.