Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MrApplejuice/memprize-nijmegen
Browse files Browse the repository at this point in the history
  • Loading branch information
MrApplejuice committed Sep 15, 2023
2 parents 40b51b9 + 683761a commit 0efde3c
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy main branch to gitub pages

on:
workflow_dispatch:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
working-directory: web
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install pipenv
run: pip install pipenv
- name: Test
run: ls -lah && pwd
- name: Setup pipenv build environment
run: pipenv install
- name: Build install
run: pipenv run make install
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: "web/install/"
deploy:
needs: build
runs-on: ubuntu-latest

permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 0efde3c

Please sign in to comment.