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

26 lines
486 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/app'
- name: Deploy on GitHub Pages
if: github.ref == 'refs/heads/master'
uses: alex-page/blazing-fast-gh-pages-deploy@v1.1.0
with:
repo-token: ${{ secrets.GH_PAT }}
site-directory: 'toxic/app/-'