mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-11 13:06:43 +00:00
deploy.yml
This commit is contained in:
parent
a8c141772d
commit
8422d82c1e
1 changed files with 18 additions and 9 deletions
27
.github/workflows/deploy.yml
vendored
27
.github/workflows/deploy.yml
vendored
|
|
@ -2,18 +2,18 @@ name: Deploy
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
env:
|
|
||||||
REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }}
|
|
||||||
REACT_APP_PROJECT_ID: ${{ secrets.REACT_APP_PROJECT_ID }}
|
|
||||||
REACT_APP_MSG_SENDER_ID: ${{ secrets.REACT_APP_MSG_SENDER_ID }}
|
|
||||||
REACT_APP_MEASUREMENT_ID: ${{ secrets.REACT_APP_MEASUREMENT_ID }}
|
|
||||||
REACT_APP_DB_URL: ${{ secrets.REACT_APP_DB_URL }}
|
|
||||||
REACT_APP_AUTH_DOMAIN: ${{ secrets.REACT_APP_AUTH_DOMAIN }}
|
|
||||||
REACT_APP_APP_ID: ${{ secrets.REACT_APP_APP_ID }}
|
|
||||||
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
|
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }}
|
||||||
|
REACT_APP_PROJECT_ID: ${{ secrets.REACT_APP_PROJECT_ID }}
|
||||||
|
REACT_APP_MSG_SENDER_ID: ${{ secrets.REACT_APP_MSG_SENDER_ID }}
|
||||||
|
REACT_APP_MEASUREMENT_ID: ${{ secrets.REACT_APP_MEASUREMENT_ID }}
|
||||||
|
REACT_APP_DB_URL: ${{ secrets.REACT_APP_DB_URL }}
|
||||||
|
REACT_APP_AUTH_DOMAIN: ${{ secrets.REACT_APP_AUTH_DOMAIN }}
|
||||||
|
REACT_APP_APP_ID: ${{ secrets.REACT_APP_APP_ID }}
|
||||||
|
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
@ -29,6 +29,15 @@ jobs:
|
||||||
name: Release
|
name: Release
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }}
|
||||||
|
REACT_APP_PROJECT_ID: ${{ secrets.REACT_APP_PROJECT_ID }}
|
||||||
|
REACT_APP_MSG_SENDER_ID: ${{ secrets.REACT_APP_MSG_SENDER_ID }}
|
||||||
|
REACT_APP_MEASUREMENT_ID: ${{ secrets.REACT_APP_MEASUREMENT_ID }}
|
||||||
|
REACT_APP_DB_URL: ${{ secrets.REACT_APP_DB_URL }}
|
||||||
|
REACT_APP_AUTH_DOMAIN: ${{ secrets.REACT_APP_AUTH_DOMAIN }}
|
||||||
|
REACT_APP_APP_ID: ${{ secrets.REACT_APP_APP_ID }}
|
||||||
|
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue