Skip to content

Commit

Permalink
try to download the site before publishing?
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaak-Malers committed Feb 28, 2024
1 parent d7ae33c commit 7a1a4a1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: deploy-pages

on:
Expand Down Expand Up @@ -55,6 +54,15 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: github-pages
path: _site

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_dir: _site

0 comments on commit 7a1a4a1

Please sign in to comment.