Skip to content

Merge pull request #18 from BristolMyersSquibb/feat/videos-and-workflows #1

Merge pull request #18 from BristolMyersSquibb/feat/videos-and-workflows

Merge pull request #18 from BristolMyersSquibb/feat/videos-and-workflows #1

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npx vitepress build
- name: Generate app token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
owner: BristolMyersSquibb
repositories: blockr
- uses: JamesIves/github-pages-deploy-action@v4
with:
repository-name: BristolMyersSquibb/blockr
branch: gh-pages
folder: .vitepress/dist
token: ${{ steps.app-token.outputs.token }}