Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/reviewstack.dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,29 @@ name: Publish https://reviewstack.dev

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/reviewstack.dev-deploy.yml'
schedule:
- cron: '0 0 * * 1-5'

jobs:
deploy:
runs-on: ubuntu-22.04
# Our build container already has Node, Yarn, and Python installed.
container:
image: ${{ format('ghcr.io/{0}/build_ubuntu_22_04:latest', github.repository) }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout Code
uses: actions/checkout@v6
- name: Grant Access
run: git config --global --add safe.directory "$PWD"
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install Yarn
run: npm install -g yarn
- name: Install dependencies
working-directory: ./eden/contrib/
run: yarn install --prefer-offline

run: yarn install
# Build codegen and then do some sanity checks so we don't push the site
Comment thread
ajaymenon marked this conversation as resolved.
# when the tests are broken.
- name: GraphQL/TextMate codegen
Expand All @@ -36,7 +39,6 @@ jobs:
- name: Build the static site
working-directory: ./eden/contrib/reviewstack.dev
run: yarn release

# Push to the release branch.
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
Expand Down
Loading