mirror of
https://github.com/Vikeo/LifeTrinket.git
synced 2025-11-19 09:18:02 +00:00
test
This commit is contained in:
44
.github/workflows/firebase-release.yml
vendored
44
.github/workflows/firebase-release.yml
vendored
@@ -4,32 +4,32 @@ name: Deploy to Firebase Hosting
|
|||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
jobs:
|
jobs:
|
||||||
build_and_deploy:
|
# build_and_deploy:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
env:
|
# env:
|
||||||
REPO_READ_ACCESS_TOKEN: ${{ secrets.REPO_READ_ACCESS_TOKEN }}
|
# REPO_READ_ACCESS_TOKEN: ${{ secrets.REPO_READ_ACCESS_TOKEN }}
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout repository
|
# - name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup bun
|
# - name: Setup bun
|
||||||
uses: oven-sh/setup-bun@v1
|
# uses: oven-sh/setup-bun@v1
|
||||||
|
|
||||||
- name: Build, lint, and deploy
|
# - name: Build, lint, and deploy
|
||||||
run: |
|
# run: |
|
||||||
bun install
|
# bun install
|
||||||
bun run build
|
# bun run build
|
||||||
bun run lint
|
# bun run lint
|
||||||
- name: Deploy to Firebase Hosting
|
# - name: Deploy to Firebase Hosting
|
||||||
uses: FirebaseExtended/action-hosting-deploy@v0
|
# uses: FirebaseExtended/action-hosting-deploy@v0
|
||||||
with:
|
# with:
|
||||||
repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
# repoToken: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_LIFE_TRINKET }}'
|
# firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_LIFE_TRINKET }}'
|
||||||
channelId: live
|
# channelId: live
|
||||||
projectId: life-trinket
|
# projectId: life-trinket
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: build_and_deploy
|
# needs: build_and_deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: get version
|
- name: get version
|
||||||
|
|||||||
Reference in New Issue
Block a user