Skip to content

Commit

Permalink
Merge pull request #10 from Apillon/1.0
Browse files Browse the repository at this point in the history
1.0.0
  • Loading branch information
MoMannn committed Nov 28, 2023
2 parents 597963f + a6a5364 commit 1d3bb0e
Show file tree
Hide file tree
Showing 53 changed files with 10,711 additions and 1,805 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy-sdk-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy Website

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Generate docs
run: |
npm i
cd packages/sdk
npm run generate-docs
- name: Deploy docs
env:
APILLON_API_KEY: ${{ secrets.APILLON_API_KEY }}
APILLON_API_SECRET: ${{ secrets.APILLON_API_SECRET }}
WEBSITE_UUID: ${{ secrets.WEBSITE_UUID }}
run: |
npm i -g @apillon/cli
apillon hosting deploy-website ./packages/sdk/docs --uuid $WEBSITE_UUID --key $APILLON_API_KEY --secret $APILLON_API_SECRET
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# Node artifact files
node_modules/
dist/
docs/
.turbo

# Compiled Java class files
*.class
Expand Down
25 changes: 25 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest Test Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"${relativeFile}",
"--config=${workspaceFolder}/package.json",
"--runInBand",
"--detectOpenHandles",
"--forceExit"
],
"cwd": "${workspaceFolder}",
"env": {
"LOG_TARGET": "none",
"APP_ENV": "test"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
Loading

0 comments on commit 1d3bb0e

Please sign in to comment.