mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-06 02:36:39 +00:00
final versioning
This commit is contained in:
parent
8fc12ed796
commit
a9ffc3318e
1 changed files with 2 additions and 5 deletions
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
|
|
@ -4,7 +4,6 @@ on: [push]
|
|||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }}
|
||||
|
|
@ -28,12 +27,10 @@ jobs:
|
|||
wait-on: 'http://localhost:3000'
|
||||
release:
|
||||
name: Release
|
||||
# if: ${{ github.ref == 'refs/heads/master' }}
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: ref
|
||||
run: echo ${{ github.ref }}
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Build
|
||||
|
|
@ -41,6 +38,6 @@ jobs:
|
|||
- name: Deploy to Firebase
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
args: deploy --only hosting
|
||||
args: deploy
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue