Address review comments
This commit is contained in:
parent
62944b89cd
commit
0e13248bee
4
.github/workflows/ipfs.yml
vendored
4
.github/workflows/ipfs.yml
vendored
@ -19,10 +19,6 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
fetch-depth: 0
|
||||
- name: Derive appropriate SHAs for base and head for `nx affected` commands
|
||||
uses: nrwl/nx-set-shas@v2
|
||||
with:
|
||||
main-branch-name: master
|
||||
- name: Use Node.js 16
|
||||
id: Node
|
||||
uses: actions/setup-node@v2
|
||||
|
@ -4,6 +4,8 @@
|
||||
* Runs the fleek deploy process based on nx:affected, but only for sites
|
||||
* that have a .fleek.json file
|
||||
*/
|
||||
const { existsSync } = require('fs');
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
// Fleek CLI requires this variable to be set
|
||||
if (!process.env['FLEEK_API_KEY']) {
|
||||
@ -11,9 +13,6 @@ if (!process.env['FLEEK_API_KEY']) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
const { existsSync } = require('fs');
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
// The folder containing NX projects
|
||||
const projectPath = './apps/';
|
||||
// The Fleek project file, the existence indicates a deployed app
|
||||
|
Loading…
Reference in New Issue
Block a user