This repository has been archived by the owner on Jan 17, 2025. It is now read-only.
Update docker entrypoint with REACT_APP_PASSCODE_MD5 variable #17
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: Deploy Web App | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install and Build | |
run: | | |
echo "REACT_APP_GEMINI_API_KEY=${{ vars.REACT_APP_GEMINI_API_KEY }}" > .env | |
npm install | |
npm run build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: build | |
CLEAN: true |