Skip to content

docs: update core.mdx to v2.1.0 (#207) #147

docs: update core.mdx to v2.1.0 (#207)

docs: update core.mdx to v2.1.0 (#207) #147

name: release-bucketeer-io-docs
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- ".github/**"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Yarn install dependencies
run: |
yarn install
- name: Yarn Build
run: |
yarn build
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_BUCKETEER_IO }}
projectId: ${{ secrets.FIREBASE_HOSTING_PROJECT_ID }}
channelId: live