Merge pull request #17 from NYU-ITS/bump_lockfile #64
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
# .github/workflows/deploy.yml | |
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
pull-requests: write | |
contents: write | |
pages: write | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install and Build | |
run: | | |
pnpm install --frozen-lockfile | |
pnpm build | |
- uses: actions/checkout@v4 | |
- run: npm i && npm run build | |
- uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: build | |
branch: gh-pages | |
clean-exclude: pr-preview | |
force: false |