Skip to content

Commit

Permalink
Fix deploy workflow (#32)
Browse files Browse the repository at this point in the history
* Fix deploy workflow
Fixes #31

* Remove pr trigger
  • Loading branch information
kjy5 authored Aug 18, 2022
1 parent 5f4f576 commit 0b0ca61
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ jobs:

- name: 🔨 Build
run: make html

- name: ⬆️ Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'build/html'
15 changes: 7 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,15 @@ concurrency:

jobs:

build:
name: Build Documentation
uses: ./.github/workflows/build.yml

deploy:
name: Deploy Documentation

needs: build

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand All @@ -26,17 +33,9 @@ jobs:

steps:

- name: 🔨 Build
uses: ./.github/workflows/build.yml

- name: 🎛 Setup Pages
uses: actions/configure-pages@v1

- name: ⬆️ Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'build/html'

- name: 🚀 Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@main

0 comments on commit 0b0ca61

Please sign in to comment.