23 lines
498 B
YAML
23 lines
498 B
YAML
name: Deploy 🚀
|
|
|
|
on:
|
|
push:
|
|
branches: ["main", "deploy-test"]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: mkdir gh-pages
|
|
- run: cp favicon.ico gh-pages
|
|
- uses: ./
|
|
with:
|
|
format: html
|
|
output: ./gh-pages/index.html
|
|
- run: "find ./gh-pages"
|
|
- uses: peaceiris/actions-gh-pages@v3.7.3
|
|
with:
|
|
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
|
publish_dir: gh-pages
|