Skip to content

Commit

Permalink
ci: update paths for temporary page files in CircleCI config
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaele-oplabs committed Dec 23, 2024
1 parent cffe566 commit e95fa59
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ jobs:
- run:
name: Build pages
command: |
mkdir -p tmp/pages
mv index.html tmp/pages/index.html
touch tmp/pages/.nojekyll
mkdir -p /tmp/pages
mv index.html /tmp/pages/index.html
touch /tmp/pages/.nojekyll
if [ "$CIRCLE_PROJECT_REPONAME" == "op-geth" ] && [ "$CIRCLE_PROJECT_USERNAME" == "ethereum-optimism" ]; then
echo "op-geth.optimism.io" > tmp/pages/CNAME
echo "op-geth.optimism.io" > /tmp/pages/CNAME
fi
# Deploy to GitHub Pages
Expand All @@ -99,7 +99,7 @@ jobs:
rm -rf *
# Copy new files
cp -a tmp/pages/. .
cp -a /tmp/pages/. .
# Commit and push
git add .
Expand Down

0 comments on commit e95fa59

Please sign in to comment.