Skip to content

change compose

change compose #557

Workflow file for this run

name: Deploy
on:
push:
branches: [ nx-app, nx-app-i18n ]
schedule:
- cron: "0 8-22/2 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install
run: npm install
- name: Run translate service
run: |
npm run libretranslate
docker ps
- name: Build
run: |
export SERVER_URL=127.0.0.1
npm run build
- name: Stop translate service
run: npm run libretranslate-stop
- name: Adjustment
run: |
cp .nojekyll ./out/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: master
folder: out