forked from bridge-core/plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 1.02 KB
/
deploy.yml
File metadata and controls
34 lines (30 loc) · 1.02 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
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
with:
persist-credentials: false
- name: Setup Deno 🚧
uses: denolib/setup-deno@v2
with:
deno-version: v1.17.X
- name: Install and Build 🔧
run: |
deno run --allow-read --allow-write --unstable ./scripts/build.ts
- name: Commit files ✅
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A && git commit -m "Updated extensions"
- name: Push changes 🔼
uses: ad-m/github-push-action@master
with:
branch: master
github_token: ${{ secrets.GITHUB_TOKEN }}