-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 1.06 KB
/
ionos-space.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: IONOS.space
on: [push]
jobs:
ionos-space:
runs-on: ubuntu-latest
steps:
- name: Get Ionos Project data
uses: ionos-deploy-now/retrieve-project-info-action@v1
id: project
with:
api-key: ${{ secrets.IONOS_API_KEY }}
project: f7014111-4583-427b-ad6a-2db8b5914bd6
service-host: api-us.ionos.space
- name: checkout
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Deploy to IONOS
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
uses: ionos-deploy-now/deploy-to-ionos-action@v1
with:
dist-folder: ./
project: f7014111-4583-427b-ad6a-2db8b5914bd6
storage-quota: ${{ steps.project.outputs.storage-quota }}
branch-id: ${{ steps.project.outputs.branch-id }}
service-host: api-us.ionos.space
api-key: ${{ secrets.IONOS_API_KEY }}
remote-host: ${{ steps.project.outputs.remote-host }}