Repository navigation
chore(deps): update dependency @rslint/core to v0.9.4 (#539) #7
This file contains hidden or 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 Website to Zephyr | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| if: github.repository == 'rstackjs/rstack-cli' && github.ref == 'refs/heads/main' | |
| runs-on: ubuntu-latest | |
| environment: deployment | |
| timeout-minutes: 30 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24.21.0 | |
| package-manager-cache: false | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 | |
| with: | |
| run_install: true | |
| - name: Verify Zephyr token | |
| env: | |
| ZE_CI_TOKEN: ${{ secrets.ZE_CI_TOKEN }} | |
| run: test -n "$ZE_CI_TOKEN" || { echo '::error::Set ZE_CI_TOKEN in the deployment environment secrets.'; exit 1; } | |
| - name: Build workspace packages | |
| run: pnpm build | |
| - name: Build and deploy website | |
| env: | |
| ZEPHYR_DEPLOY: 'true' | |
| ZE_CI_TOKEN: ${{ secrets.ZE_CI_TOKEN }} | |
| ZE_FAIL_BUILD: true | |
| run: pnpm --filter rstack-website build |