File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish https://reviewstack.dev
22
3- on :
3+ on :
44 workflow_dispatch :
55 schedule :
66 - cron : ' 0 0 * * 1-5'
77
88jobs :
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
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' }}
You can’t perform that action at this time.
0 commit comments