Skip to content

Commit e80a334

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

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

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

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

3-
on:
3+
on:
44
workflow_dispatch:
55
schedule:
66
- cron: '0 0 * * 1-5'
77

88
jobs:
99
deploy:
1010
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) }}
1411
concurrency:
1512
group: ${{ github.workflow }}-${{ github.ref }}
1613
steps:
1714
- name: Checkout Code
1815
uses: actions/checkout@v6
19-
- name: Grant Access
20-
run: git config --global --add safe.directory "$PWD"
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '18'
20+
- name: Install Yarn
21+
run: npm install -g yarn
2122
- name: Install dependencies
2223
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.
24+
run: yarn install
2725
- name: GraphQL/TextMate codegen
2826
working-directory: ./eden/contrib/reviewstack
2927
run: yarn codegen
@@ -36,8 +34,6 @@ jobs:
3634
- name: Build the static site
3735
working-directory: ./eden/contrib/reviewstack.dev
3836
run: yarn release
39-
40-
# Push to the release branch.
4137
- name: Deploy
4238
uses: peaceiris/actions-gh-pages@v4
4339
if: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)