-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 1 KB
/
prod.yml
File metadata and controls
35 lines (30 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Deploy to Prod
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
deno: ["v1.x"]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Use Deno ${{ matrix.deno }}
uses: denolib/setup-deno@v2.3.0
with:
deno-version: ${{ matrix.deno }}
- name: Install and Build components 🔧
run: |
deno install -qA -n vr https://deno.land/x/velociraptor@1.0.0-beta.18/cli.ts
deno install --unstable --allow-read --allow-write --allow-net --allow-run --name=pagic https://deno.land/x/pagic/mod.ts
vr build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch