Feature/#349 첨부된 학습자료 클릭 시 새탭으로 띄워지도록 수정 #122
Workflow file for this run
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: develop-buildtest | |
on: | |
pull_request: | |
branches: | |
- develop | |
workflow_dispatch: | |
jobs: | |
build_test: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Create .env File | |
env: | |
PREFIX: 'NEXT_PUBLIC_' | |
SECRETS: ${{ toJson(secrets) }} | |
run: | | |
touch .env && \ | |
jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' <<< "$SECRETS" | grep $PREFIX > .env | |
- name: Build | |
run: npm run build |