Skip to content

Commit

Permalink
fix: commentout
Browse files Browse the repository at this point in the history
  • Loading branch information
mikan3rd committed Mar 2, 2022
1 parent 17daecd commit 0918680
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions .github/workflows/github-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,43 +89,43 @@ jobs:
name: functions-build-files
path: functions/lib

functions-deploy:
if: github.ref == 'refs/heads/master'
needs: functions-build
runs-on: macos-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@main

- name: Download Artifact
uses: actions/download-artifact@main
with:
name: functions-build-files
path: functions/lib

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-

- run: yarn install
working-directory: ./functions

- name: deploy to Firebase Functions
working-directory: ./functions
run: yarn deploy:prod --token=${{ secrets.FIREBASE_TOKEN }}
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
# functions-deploy:
# if: github.ref == 'refs/heads/master'
# needs: functions-build
# runs-on: macos-latest
# strategy:
# matrix:
# node-version: [12.x]
# steps:
# - uses: actions/checkout@main

# - name: Download Artifact
# uses: actions/download-artifact@main
# with:
# name: functions-build-files
# path: functions/lib

# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node-version }}

# - name: Get yarn cache directory path
# id: yarn-cache-dir-path
# run: echo "::set-output name=dir::$(yarn cache dir)"

# - uses: actions/cache@v2
# id: yarn-cache
# with:
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: ${{ runner.os }}-yarn-

# - run: yarn install
# working-directory: ./functions

# - name: deploy to Firebase Functions
# working-directory: ./functions
# run: yarn deploy:prod --token=${{ secrets.FIREBASE_TOKEN }}
# env:
# FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}

1 comment on commit 0918680

@vercel
Copy link

@vercel vercel bot commented on 0918680 Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

Your Personal Account exceeded our fair use limits and has been blocked.

Learn More: http://vercel.link/fair-use

Please sign in to comment.