mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-18 04:11:57 +02:00
Update gh-pages.yml
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user