Skip to content

Commit 780745b

Browse files
committed
[RFC] Fix reviewstack.dev deploy by removing broken Docker container dependency
1 parent d9dc76f commit 780745b

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

.github/workflows/reviewstack.dev-deploy.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
name: Publish https://reviewstack.dev
22

3-
on:
3+
on:
44
workflow_dispatch:
5+
pull_request:
6+
paths:
7+
- '.github/workflows/reviewstack.dev-deploy.yml'
58
schedule:
69
- cron: '0 0 * * 1-5'
710

811
jobs:
912
deploy:
1013
runs-on: ubuntu-22.04
11-
# Our build container already has Node, Yarn, and Python installed.
12-
container:
13-
image: ${{ format('ghcr.io/{0}/build_ubuntu_22_04:latest', github.repository) }}
1414
concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
steps:
1717
- name: Checkout Code
1818
uses: actions/checkout@v6
19-
- name: Grant Access
20-
run: git config --global --add safe.directory "$PWD"
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '18'
23+
- name: Install Yarn
24+
run: npm install -g yarn
2125
- name: Install dependencies
2226
working-directory: ./eden/contrib/
23-
run: yarn install --prefer-offline
24-
25-
# Build codegen and then do some sanity checks so we don't push the site
26-
# when the tests are broken.
27+
run: yarn install
2728
- name: GraphQL/TextMate codegen
2829
working-directory: ./eden/contrib/reviewstack
2930
run: yarn codegen
@@ -36,8 +37,6 @@ jobs:
3637
- name: Build the static site
3738
working-directory: ./eden/contrib/reviewstack.dev
3839
run: yarn release
39-
40-
# Push to the release branch.
4140
- name: Deploy
4241
uses: peaceiris/actions-gh-pages@v4
4342
if: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)