Skip to content

Commit

Permalink
Publish example app
Browse files Browse the repository at this point in the history
  • Loading branch information
fboeller committed Mar 7, 2021
1 parent 84b8b15 commit 05337f1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
restore-keys: ${{ runner.os }}-node-

- name: Setup Node.js environment
uses: actions/setup-node@v1
uses: actions/setup-node@v2

- name: Install npm packages
run: npm install
run: npm ci

- name: Build
run: npm run build -- --prod
Expand All @@ -36,3 +36,12 @@ jobs:

- name: Prettier
run: npm run prettier-check

- name: Build example app
run: npm run build -- --prod

- name: Publish example app
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/example-app

0 comments on commit 05337f1

Please sign in to comment.