toxic-repos/.github/workflows/toxic_app.yml

27 lines
503 B
YAML
Raw Normal View History

2022-05-08 09:49:14 +03:00
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 }}
2022-05-08 09:50:28 +03:00
package: 'toxic'
modules: 'app'
2022-05-08 09:49:14 +03:00
- name: Deploy on GitHub Pages
2022-05-08 09:55:08 +03:00
if: github.ref == 'refs/heads/main'
2022-05-08 09:49:14 +03:00
uses: alex-page/blazing-fast-gh-pages-deploy@v1.1.0
with:
repo-token: ${{ secrets.GH_PAT }}
site-directory: 'toxic/app/-'