File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,26 +2,29 @@ name: Publish https://reviewstack.dev
22
33on :
44 workflow_dispatch :
5+ pull_request :
6+ paths :
7+ - ' .github/workflows/reviewstack.dev-deploy.yml'
58 schedule :
69 - cron : ' 0 0 * * 1-5'
710
811jobs :
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
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
You can’t perform that action at this time.
0 commit comments