abort requests after synonym group has been aborted #29
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: GitHub Pages | |
on: | |
push: | |
branches: | |
- main # Set a branch to deploy | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v2 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- name: prepare | |
run: | | |
mkdir build | |
cp index.html build/ | |
- name: Bundle | |
run: deno bundle SynonymGroup.ts build/synonym-group.js | |
- name: copy ts | |
run: cp SynonymGroup.ts build/ | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
folder: build |