diff --git a/.github/workflows/deploy-now.yaml b/.github/workflows/deploy-now.yaml new file mode 100644 index 0000000..7ac0729 --- /dev/null +++ b/.github/workflows/deploy-now.yaml @@ -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 }} diff --git a/SECURITY.mdWTFGpvj3uWAs8x-f7cSkLA b/SECURITY.mdWTFGpvj3uWAs8x-f7cSkLA new file mode 100644 index 0000000..034e848 --- /dev/null +++ b/SECURITY.mdWTFGpvj3uWAs8x-f7cSkLA @@ -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.