Merge pull request #145 from THG2009/master #234
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |