Merge pull request #799 from explorable-viz/tweaks #1146
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: develop | |
on: | |
push: | |
paths-ignore: | |
- 'old/**' | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- 'old/**' | |
- '**.md' | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: test | |
run: | | |
yarn install | |
. script/git/hooks/pre-push | |
deploy: | |
runs-on: ubuntu-22.04 | |
needs: test | |
if: github.ref == 'refs/heads/develop' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
run: | | |
yarn install | |
yarn build-app | |
- name: gh-pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: dist/app/ | |
keep_files: true |