toxic-repos/.github/workflows/toxic_app.yml
2022-05-08 09:55:08 +03:00

27 lines
503 B
YAML

name: Deploy
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Build app
uses: hyoo-ru/mam_build@master2
with:
token: ${{ secrets.GH_PAT }}
package: 'toxic'
modules: 'app'
- name: Deploy on GitHub Pages
if: github.ref == 'refs/heads/main'
uses: alex-page/blazing-fast-gh-pages-deploy@v1.1.0
with:
repo-token: ${{ secrets.GH_PAT }}
site-directory: 'toxic/app/-'