mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-09 12:21:57 -04:00
Update gh-pages.yml
This commit is contained in:
parent
73b22a1875
commit
ecac395174
1 changed files with 27 additions and 6 deletions
33
.github/workflows/gh-pages.yml
vendored
33
.github/workflows/gh-pages.yml
vendored
|
@ -29,15 +29,36 @@ jobs:
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Pages
|
|
||||||
uses: actions/configure-pages@v5
|
|
||||||
- name: Upload artifact
|
|
||||||
uses: actions/upload-pages-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
# Upload entire repository
|
submodules: true
|
||||||
path: './website'
|
fetch-depth: 1
|
||||||
|
- name: Copy README.md into place
|
||||||
|
run: |
|
||||||
|
rm ./website/README.md
|
||||||
|
cp ./README.md ./website/README.md
|
||||||
|
- name: Setup Pages
|
||||||
|
uses: actions/configure-pages@v3
|
||||||
|
- name: Build with Jekyll
|
||||||
|
uses: actions/jekyll-build-pages@v1
|
||||||
|
with:
|
||||||
|
source: ./website
|
||||||
|
destination: ./_site
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v2
|
||||||
|
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v4
|
||||||
|
# - name: Setup Pages
|
||||||
|
# uses: actions/configure-pages@v5
|
||||||
|
# - name: Upload artifact
|
||||||
|
# uses: actions/upload-pages-artifact@v3
|
||||||
|
# with:
|
||||||
|
# # Upload entire repository
|
||||||
|
# path: './website'
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue