Skip to content

Merge pull request #31 from EpicsDAO/add/article #63

Merge pull request #31 from EpicsDAO/add/article

Merge pull request #31 from EpicsDAO/add/article #63

Workflow file for this run

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: '18.17.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://[email protected]
- 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 }}