Skip to content

Update faq.md

Update faq.md #6

Workflow file for this run

name: Deploy Now
on: [push]
jobs:
deploy-now:
runs-on: ubuntu-latest
steps:
- name: Fetch project data
uses: ionos-deploy-now/retrieve-project-info-action@v1
id: project
with:
service-host: api-eu.ionos.space
project: 418bd374-d907-49b0-b6b6-eae84e6c3807
api-key: ${{ secrets.IONOS_API_KEY }}
- name: checkout
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Setup project
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
uses: actions/setup-node@v1
with:
node-version: v14.x
- name: Prepare project environment
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
run: npm ci
- name: Build project
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
run: npm run build
env:
CI: true
SITE_URL: ${{ steps.project.outputs.site-url }}
URL_WEB: https://ionos.space
URL_GITHUB: https://github.com/ionos-deploy-now/documentation/tree/main
SHOW_BLOG: true
- name: Deploy build
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
uses: ionos-deploy-now/deploy-to-ionos-action@v1
with:
storage-quota: ${{ steps.project.outputs.storage-quota }}
project: 418bd374-d907-49b0-b6b6-eae84e6c3807
dist-folder: dist
remote-host: ${{ steps.project.outputs.remote-host }}
api-key: ${{ secrets.IONOS_API_KEY }}
service-host: api-eu.ionos.space
branch-id: ${{ steps.project.outputs.branch-id }}