Skip to content

env追加

env追加 #7

Workflow file for this run

name: Build and Test
on:
push
env:
- OPENAI_API_KEY: ""

Check failure on line 7 in .github/workflows/auto_build.yml

View workflow run for this annotation

GitHub Actions / Build and Test

Invalid workflow file

The workflow is not valid. .github/workflows/auto_build.yml (Line: 7, Col: 3): A sequence was not expected
NEXT_PUBLIC_ENDPOINT: ""
NEXT_PUBLIC_PORT: ""
NEXT_PUBLIC_ACCESS_KEY: ""
NEXT_PUBLIC_SECRET_KEY: ""
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
cache-dependency-path: app/package-lock.json
- name: npm install
working-directory: app
run: npm install
- name: Build
working-directory: app
run: npm run build
- uses: stefanzweifel/[email protected]
with:
commit_message: formatted by workflow