Skip to content

Merge branch 'main' of github.com:Data-Construct/faking #58

Merge branch 'main' of github.com:Data-Construct/faking

Merge branch 'main' of github.com:Data-Construct/faking #58

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
github_pages_deploy:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: |
cd docs
yarn install
yarn export
- name: Deploy
run: |
cd docs
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
yarn deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}