Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
firasbk7770 committed Jul 1, 2024
2 parents d10638d + 9b4af69 commit 45a1b22
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ permissions:
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
Expand All @@ -19,14 +21,20 @@ jobs:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci --legacy-peer-deps

- name: Run lint
run: npm run lint

- name: Build
run: |
npm ci --legacy-peer-deps
npm run build
mkdir -p out
touch out/.nojekyll
- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'pull_request' && github.event.pull_request.merged == true
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
Expand Down
9 changes: 6 additions & 3 deletions src/lib/data-keys.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
"mtla_a_delegate",
"mtla_c_delegate",
"mtl_delegate",
"delegate"
"delegate",
"owner"
],
"links": [
"link",
"link \\d+",
"link_\\d+"
"link_\\d+",
"website"
],
"names": [
"name",
"about"
"about",
"MTLA:PIIStandard"
]
}

0 comments on commit 45a1b22

Please sign in to comment.