-
Notifications
You must be signed in to change notification settings - Fork 32
34 lines (30 loc) · 1.01 KB
/
deploy.yml
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/[email protected]
with:
persist-credentials: false
- name: Setup Deno 🚧
uses: denolib/setup-deno@v2
with:
deno-version: v1.23.X
- name: Install and Build 🔧
run: |
deno task build
- name: Commit files ✅
run: |
git config --local user.email "${{ github.event.pusher.email }}"
git config --local user.name "${{ github.event.pusher.name }}"
git add -A && git commit -m "Updated extension package"
- name: Push changes 🔼
uses: ad-m/github-push-action@master
with:
branch: master
github_token: ${{ secrets.GITHUB_TOKEN }}