feat(disasters panel): 20511 Added config-based filters by last N day… #722
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 master branch cosmos to GitHub Pages | |
env: | |
HUSKY: 0 | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- 'e2e/**' | |
- 'playwright.config.ts' | |
- '.github/workflows/run_e2e_tests.yml' | |
permissions: | |
contents: write | |
jobs: | |
deploy_cosmos: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Run cosmos:build to build static | |
run: | | |
pnpm i --prod=false --frozen-lockfile | |
pnpm run cosmos:build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.6.0 | |
with: | |
branch: gh-pages | |
folder: cosmos-export |