Skip to content

Commit

Permalink
fix error 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Aweiro committed Nov 2, 2024
1 parent bba1e92 commit 087417b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 13 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy

on:
push:
branches:
- ourbranch

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Run your script
env:
FIREBASE_ADMIN_SDK: ${{ secrets.FIREBASE_ADMIN_SDK }} # Доступ до секрету
run: |
echo "$FIREBASE_ADMIN_SDK" > ./keys/serviceAccountKey.json
node server.js # Запустіть ваш скрипт
13 changes: 0 additions & 13 deletions js/keys/west-decor-firebase-adminsdk-1u4jg-d3bcf2d378.json

This file was deleted.

0 comments on commit 087417b

Please sign in to comment.