Skip to content

Update deploy.yml

Update deploy.yml #51

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
- test
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
yarn
yarn build
yarn deploy
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: packages/vue-ui-storybook/storybook-static # The folder the action should deploy.
token: ${{ secrets.GITHUB_TOKEN }}
git-config-email: [email protected]
git-config-name: alanuuu