Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/deploy-now.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Deploy Now

on:
- push
- workflow_dispatch

jobs:
deploy-now:
runs-on: ubuntu-latest
steps:
- name: Fetch project data
uses: ionos-deploy-now/retrieve-project-info-action@v1
id: project
with:
api-key: ${{ secrets.IONOS_API_KEY }}
project: ${{ secrets.IONOS_PROJECT_ID }}
service-host: api-us.ionos.space
- name: checkout
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Setup Node.js 14.x
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Prepare project environment
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
run: npm install
- name: Build project
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
run: npm run build
env:
CI: true
SITE_URL: ${{ steps.project.outputs.site-url }}
- name: Deploy build
if: ${{ steps.project.outputs.deployment-enabled == 'true' }}
uses: ionos-deploy-now/deploy-to-ionos-action@v1
with:
api-key: ${{ secrets.IONOS_API_KEY }}
bootstrap-deploy: ${{ steps.project.outputs.bootstrap-deploy }}
branch-id: ${{ steps.project.outputs.branch-id }}
dist-folder: public
project: ${{ secrets.IONOS_PROJECT_ID }}
remote-host: ${{ steps.project.outputs.remote-host }}
service-host: api-us.ionos.space
storage-quota: ${{ steps.project.outputs.storage-quota }}
21 changes: 21 additions & 0 deletions SECURITY.mdWTFGpvj3uWAs8x-f7cSkLA
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.