Skip to content

Commit

Permalink
Deploy on github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
AZhur771 committed Jan 22, 2024
1 parent 8c87c6a commit 5714221
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy-gh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy on github pages

on:
push:
branches:
- webgl

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
cache: 'yarn'

- name: Install dependencies
run: yarn install

# - name: Test
# run: yarn test

- name: Build
run: yarn build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./excalidraw-app/build

0 comments on commit 5714221

Please sign in to comment.