changed from hexo to custom react stuff #1
1 changed files with 30 additions and 30 deletions
60
.github/workflows/firebase-hosting-merge.yml
vendored
60
.github/workflows/firebase-hosting-merge.yml
vendored
|
@ -17,33 +17,33 @@ jobs:
|
|||
with:
|
||||
name: build
|
||||
path: build
|
||||
deploy:
|
||||
name: Deploy
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@master
|
||||
- name: Download Artifact
|
||||
uses: actions/download-artifact@master
|
||||
with:
|
||||
name: build
|
||||
path: build
|
||||
- name: Set target
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
args: use developomp-site
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
- name: Apply target
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
args: target:apply hosting dev developomp-site
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
- name: Deploy to Firebase
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
args: deploy --only hosting:dev
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
deploy:
|
||||
name: Deploy
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@master
|
||||
- name: Download Artifact
|
||||
uses: actions/download-artifact@master
|
||||
with:
|
||||
name: build
|
||||
path: build
|
||||
- name: Set target
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
args: use developomp-site
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
- name: Apply target
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
args: target:apply hosting dev developomp-site
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
- name: Deploy to Firebase
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
args: deploy --only hosting:dev
|
||||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue