Skip to content

Commit

Permalink
package update
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed Jun 16, 2024
1 parent abff70b commit 6e7fd23
Show file tree
Hide file tree
Showing 2 changed files with 2,076 additions and 1,048 deletions.
40 changes: 25 additions & 15 deletions .github/workflows/build-browser-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,25 @@ name: Push to https://bmltsearch.bmlt.app

on: [push]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: 'pages'
cancel-in-progress: false

jobs:
build:
name: Push to gh-pages
runs-on: ubuntu-latest
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Checkout source
- name: Checkout
uses: actions/checkout@v4

- name: Setup java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8

- name: Setup Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -27,12 +32,17 @@ jobs:
- name: Install app dependencies
run: npm install

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Build Script for browser
run: ionic build --prod --source-map --platform=browser

- name: Push to https://bmltsearch.bmlt.app
uses: peaceiris/actions-gh-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./www
cname: bmltsearch.bmlt.app
path: 'www'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Loading

0 comments on commit 6e7fd23

Please sign in to comment.