Skip to content

Commit

Permalink
feat(deno): deploy from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
teomrd committed Nov 1, 2024
1 parent 1718d94 commit 066f390
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- main
- deno
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- run: make build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
5 changes: 1 addition & 4 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
name: On Pull Requests
on:
push:
branches:
- deno
pull_request:
branches:
- main
jobs:
quality-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
Expand Down

0 comments on commit 066f390

Please sign in to comment.