style: one line button PE-5161 #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to GitHub Pages | |
on: | |
push: | |
branches: | |
- PE-5161_gift_app_init | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn --immutable --immutable-cache | |
- name: Build | |
run: yarn build | |
- name: Deploy gh-pages if on prod | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist |