-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 882 Bytes
/
web.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Web
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '20.15.1'
- name: Install yarn and firebase tools
run: npm i -g npm yarn firebase-tools
- name: GitHub repository setting
run: git config --global url."https://github.com".insteadOf ssh://git@github.com
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build App
run: yarn build
- name: Deploy to Firebase
run: firebase deploy --token ${{ secrets.FIREBASE_DEPLOY_TOKEN }}
- name: Send sitemap
run: yarn send:sitemap
env:
BING_API_KEY: ${{ secrets.BING_API_KEY }}