Skip to content

Commit

Permalink
ci: config changes in building fleek webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
banasa44 committed Apr 24, 2024
1 parent 4b067dd commit 8a9d301
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-on-fleek.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
inputs:
source_branch:
description: 'Publish content from branch (master|staging-temp)'
description: 'Publish content from branch (master|staging)'
required: true
default: staging-temp
default: staging
type: choice
options:
- master
- staging-temp
- staging

jobs:
build-and-deploy:
Expand All @@ -28,7 +28,7 @@ jobs:
cache: 'yarn'

- name: Install and build
run: yarn && yarn build
run: yarn && yarn docs:subgraph && yarn optimize-svg && yarn build

- name: Activate Fleek
run: mv fleek_${{ inputs.source_branch }}.json .fleek.json
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Generated files
.docusaurus
.cache-loader
/docs/subgraph/reference-guide

# Misc
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion fleek_master.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": {
"baseDir": "",
"publicDir": "build/",
"command": "yarn && yarn build",
"command": "yarn && yarn docs:subgraph && yarn optimize-svg && yarn build",
"rootDir": ""
}
}
2 changes: 1 addition & 1 deletion fleek_staging-temp.json → fleek_staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": {
"baseDir": "",
"publicDir": "build/",
"command": "yarn && yarn build",
"command": "yarn && yarn docs:subgraph && yarn optimize-svg && yarn build",
"rootDir": ""
}
}

0 comments on commit 8a9d301

Please sign in to comment.