Skip to content

fix(args): allow -o and -p together if they point to different files #1244

fix(args): allow -o and -p together if they point to different files

fix(args): allow -o and -p together if they point to different files #1244

Workflow file for this run

name: Deploy website
on:
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
env:
NODE_OPTIONS: --max-old-space-size=6144
jobs:
test-deploy:
name: Test deployment
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
cache-dependency-path: ./website/package-lock.json
- name: Install dependencies
working-directory: ./website
run: yarn install --frozen-lockfile --non-interactive
- name: Build
working-directory: ./website
run: yarn build
deploy:
name: Deploy website
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-22.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
cache-dependency-path: ./website/package-lock.json
- name: Install dependencies
working-directory: ./website
run: yarn install --frozen-lockfile --non-interactive
- name: Build
working-directory: ./website
run: yarn build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: website/build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4