mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
Merge branch 'main' into develop
This commit is contained in:
32
.github/workflows/deploy-preview.yml
vendored
Normal file
32
.github/workflows/deploy-preview.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Deploy to Preview Channel
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
# Optionally configure to run only for specific files. For example:
|
||||
# paths:
|
||||
# - "website/**"
|
||||
env:
|
||||
REACT_APP_FIREBASE_PROJECT_ID: tryrowy
|
||||
REACT_APP_FIREBASE_PROJECT_WEB_API_KEY:
|
||||
"${{ secrets.FIREBASE_WEB_API_KEY_TRYROWY }}"
|
||||
CI: ""
|
||||
jobs:
|
||||
build_and_preview:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: borales/actions-yarn@v2.3.0
|
||||
with:
|
||||
cmd: install # will run `yarn install` command
|
||||
- uses: borales/actions-yarn@v2.3.0
|
||||
with:
|
||||
cmd: build # will run `yarn build` command
|
||||
env:
|
||||
CI: ""
|
||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||
firebaseServiceAccount:
|
||||
"${{ secrets.FIREBASE_SERVICE_ACCOUNT_TRYROWY }}"
|
||||
expires: 14d
|
||||
projectId: tryrowy
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"hosting": {
|
||||
"target": "rowy",
|
||||
"public": "build",
|
||||
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
|
||||
"rewrites": [
|
||||
|
||||
Reference in New Issue
Block a user