Skip to content

Commit

Permalink
try with artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ankudinov committed Mar 17, 2024
1 parent 325b801 commit 696f307
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
&& mkdir site/pdfs \
&& cp -R img site/slides/img
- name: upload artifacts
uses: actions/upload-artifact@v4

build_marp:
runs-on: ubuntu-22.04
needs: build-mkdocs
Expand All @@ -45,6 +48,9 @@ jobs:

steps:

- name: download artifacts
uses: actions/download-artifact@v4

- name: Build HTML from Marp 🔨
uses: docker://marpteam/marp-cli:v3.0.2
with:
Expand All @@ -59,12 +65,18 @@ jobs:
env:
MARP_USER: root:root

- name: upload artifacts
uses: actions/upload-artifact@v4

deploy_site:
runs-on: ubuntu-22.04
needs: build_marp

steps:

- name: download artifacts
uses: actions/download-artifact@v4

- name: Deploy production 🚀
if: ${{ github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit 696f307

Please sign in to comment.