setup site
This commit is contained in:
parent
d6f049a85d
commit
ff84817732
1 changed files with 31 additions and 0 deletions
31
.github/workflows/release.yml
vendored
31
.github/workflows/release.yml
vendored
|
|
@ -23,3 +23,34 @@ jobs:
|
|||
with:
|
||||
name: creeper-${{ matrix.os }}
|
||||
path: dist
|
||||
build-site:
|
||||
needs: release
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./site
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: creeper-windows-latest
|
||||
path: static
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: creeper-ubuntu-latest
|
||||
path: static
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- name: install hatch
|
||||
run: pip install hatch
|
||||
- name: build with markata
|
||||
run: hatch run build
|
||||
- name: GitHub Pages
|
||||
uses: crazy-max/ghaction-github-pages@v3.0.0
|
||||
with:
|
||||
# you can choose the target branch of your choice
|
||||
target_branch: prod-markata
|
||||
build_dir: markout
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue