add allow for iframe for camera, etc... #76
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: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
environment: github-pages | |
steps: | |
- name: Checkout 🍔🍟🥤 | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Use Node.js 😂 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.13 | |
- name: Install and Build 🏭 | |
run: | | |
node --version | |
npm --version | |
npm ci | |
npm run pre-build | |
npm run build-ci | |
env: | |
REACT_APP_OAUTH_HELPER_URL: ${{ secrets.REACT_APP_OAUTH_HELPER_URL }} | |
REACT_APP_DOMAIN: ${{ secrets.REACT_APP_DOMAIN }} | |
- name: Deploy 📦 | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: build |