mirror of
https://github.com/toxic-repos/toxic-repos
synced 2024-10-18 17:50:19 +03:00
26 lines
486 B
YAML
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/-'
|