mirror of https://github.com/Qiskit/qiskit.org.git
Restore `dist` as the output folder (#412)
This commit is contained in:
parent
9a4653dcc8
commit
dc0f5b1b9e
|
@ -89,6 +89,3 @@ dist
|
|||
|
||||
# Service worker
|
||||
sw.*
|
||||
|
||||
# Build dir
|
||||
public
|
||||
|
|
|
@ -86,6 +86,3 @@ dist
|
|||
|
||||
# Service worker
|
||||
sw.*
|
||||
|
||||
# Build dir
|
||||
public
|
||||
|
|
|
@ -35,7 +35,7 @@ Run unit tests made with [Jest](https://jestjs.io/):
|
|||
npm run test
|
||||
```
|
||||
|
||||
Build static version ready for production, output will generated inside a new folder called `public`:
|
||||
Build static version ready for production, output will generated inside a new folder called `dist`:
|
||||
```shell
|
||||
npm run build
|
||||
```
|
||||
|
|
|
@ -163,7 +163,7 @@ Run unit tests made with [Jest](https://jestjs.io/):
|
|||
npm run test
|
||||
```
|
||||
|
||||
Build static version ready for production, output will generated inside a new folder called `public`:
|
||||
Build static version ready for production, output will generated inside a new folder called `dist`:
|
||||
```shell
|
||||
npm run build
|
||||
```
|
||||
|
|
|
@ -10,6 +10,6 @@ CONFIG_PATH=$(rclone config file | tail -1)
|
|||
openssl aes-256-cbc -K $encrypted_rclone_key -iv $encrypted_rclone_iv -in rclone.conf.enc -out $CONFIG_PATH -d
|
||||
|
||||
git clone --depth=1 https://github.com/Qiskit/qiskit-terra.git
|
||||
cp -r qiskit-terra/qiskit/schemas ../public/.
|
||||
cp -r qiskit-terra/qiskit/schemas ../dist/.
|
||||
|
||||
rclone sync --exclude 'documentation/**' ../public IBMCOS:qiskit-org-website
|
||||
rclone sync --exclude 'documentation/**' ../dist IBMCOS:qiskit-org-website
|
||||
|
|
|
@ -171,7 +171,6 @@ const config: Configuration = {
|
|||
},
|
||||
|
||||
generate: {
|
||||
dir: 'public',
|
||||
routes: (function () {
|
||||
const events = fs.readdirSync(path.resolve(__dirname, 'content', 'events'))
|
||||
.filter(filename => path.extname(filename) === '.md')
|
||||
|
|
Loading…
Reference in New Issue