Skip to content

Commit 4091efd

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

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,29 @@ name: Publish https://reviewstack.dev
22

33
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-
27+
run: yarn install
2528
# Build codegen and then do some sanity checks so we don't push the site
2629
# when the tests are broken.
2730
- name: GraphQL/TextMate codegen
@@ -36,7 +39,6 @@ jobs:
3639
- name: Build the static site
3740
working-directory: ./eden/contrib/reviewstack.dev
3841
run: yarn release
39-
4042
# Push to the release branch.
4143
- name: Deploy
4244
uses: peaceiris/actions-gh-pages@v4

0 commit comments

Comments
 (0)