Skip to content

ci(mergify): upgrade configuration to current format (#4420) #1017

ci(mergify): upgrade configuration to current format (#4420)

ci(mergify): upgrade configuration to current format (#4420) #1017

Workflow file for this run

name: Docs Deploy
on:
push:
branches:
- main
concurrency:
group: ci-${{ github.ref }}-docs-deploy
cancel-in-progress: true
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache node_modules
uses: actions/cache@v3
with:
path: docs/node_modules
key: node_modules-${{ hashFiles('**/yarn.lock') }}
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
cache-dependency-path: docs/yarn.lock
- name: Install Dependencies
run: yarn install
working-directory: ./docs
- name: Build
run: yarn run build
working-directory: ./docs
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_IGNTSERVICES }}"
channelId: live
target: docs.ignite.com
projectId: igntservices