edited deploy-now.yaml - is the dist-folder the build folder?
This commit is contained in:
7
.github/workflows/deploy-now.yaml
vendored
7
.github/workflows/deploy-now.yaml
vendored
@@ -49,11 +49,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
yarn react-app:build
|
yarn react-app:build
|
||||||
|
|
||||||
- name: cd into build folder
|
|
||||||
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
|
|
||||||
run: |
|
|
||||||
cd packages/react-app/build
|
|
||||||
|
|
||||||
- name: Deploy to IONOS
|
- name: Deploy to IONOS
|
||||||
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
|
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
|
||||||
uses: ionos-deploy-now/deploy-to-ionos-action@v1
|
uses: ionos-deploy-now/deploy-to-ionos-action@v1
|
||||||
@@ -62,4 +57,4 @@ jobs:
|
|||||||
branch-id: ${{ steps.project.outputs.branch-id }}
|
branch-id: ${{ steps.project.outputs.branch-id }}
|
||||||
service-host: api-eu.ionos.space
|
service-host: api-eu.ionos.space
|
||||||
api-key: ${{ secrets.IONOS_API_KEY }}
|
api-key: ${{ secrets.IONOS_API_KEY }}
|
||||||
dist-folder: ./
|
dist-folder: ./packages/react-app/build
|
||||||
|
|||||||
Reference in New Issue
Block a user