Skip to content

Commit f0e4568

Browse files
authored
chore: integrate ApiDOM Playground as one of the monorepo packages
Refs #602
1 parent 068a5c2 commit f0e4568

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+57588
-41438
lines changed

.github/workflows/apidom-monorepo.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,28 @@ jobs:
4949
- name: Execute tests in monorepo
5050
run: npm run test
5151
working-directory: ./apidom
52+
- name: Upload build artifacts from ApiDOM Playground
53+
if: github.ref == 'refs/heads/master'
54+
uses: actions/upload-artifact@v2
55+
with:
56+
name: build
57+
path: ./apidom/packages/apidom-playground/build
58+
59+
deploy:
60+
61+
name: Deploy ApiDOM Playground
62+
if: github.ref == 'refs/heads/master'
63+
64+
needs: [ build ]
65+
runs-on: ubuntu-latest
66+
67+
steps:
68+
- name: Download math result for job 1
69+
uses: actions/download-artifact@v2
70+
- name: Deploy 🚀
71+
uses: JamesIves/[email protected]
72+
with:
73+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
BRANCH: gh-pages # The branch the action should deploy to.
75+
FOLDER: build # The folder the action should deploy.
76+
CLEAN: true # Automatically remove deleted files from the deploy branch

.github/workflows/apidom-playground.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)