Skip to content

Commit

Permalink
feat: Fork Diff Summary - update deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
epociask committed Jan 8, 2025
1 parent 7c35861 commit bf023cf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5,875 deletions.
34 changes: 21 additions & 13 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
- epociask--feat-fork-diff
jobs:
deploy:
build:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
Expand All @@ -21,17 +21,25 @@ jobs:
with:
args: -repo=/github/workspace -fork=/github/workspace/fork.yaml -out=/github/workspace/index.html

- name: Build pages
run: |
mkdir -p tmp/pages
mv index.html tmp/pages/index.html
touch tmp/pages/.nojekyll
# if [ "$GITHUB_REPOSITORY" == "ethereum-optimism/op-geth" ]; then
# echo "op-geth.optimism.io" > tmp/pages/CNAME
# fi;
- name: Setup Pages
uses: actions/configure-pages@v5

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
folder: tmp/pages
clean: true
source: ./
destination: ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v3

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Loading

0 comments on commit bf023cf

Please sign in to comment.