Create deploy-github-pages.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy main branch to gitub pages | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
prepare: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install pipenv | |
run: pip install pipenv | |
build: | |
needs: prepare | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./web | |
steps: | |
- name: Setup pipenv build environment | |
run: pipenv install | |
- name: Build install | |
run: pipenv run make install | |
- name: Package install | |
run: "cd install && tar cfvz ../../github-pages.tar.gz ./*" |