Skip to content

Commit

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

on: [push]
on:
push:
branches: ['version_5']
workflow_dispatch:

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 +35,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 b3f8fde

Please sign in to comment.