Add CI #2
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: Build package | ||
on: | ||
push: | ||
branches: [ master ] | ||
tags: [ '*' ] | ||
pull_request: | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
- name: install | ||
run: yarn --frozen-lockfile | ||
- name: build | ||
run: yarn build | ||
env: | ||
BASE_PATH: /my-app/ | ||
- name: create .nojekyll | ||
run: touch .output/public/.nojekyll | ||
- name: deploy pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
Check failure on line 36 in .github/workflows/CI.yml GitHub Actions / Build packageInvalid workflow file
|
||
branch: master | ||
folder: .output/public | ||