Skip to content

Commit

Permalink
Deploy from samuel-ping.github.io; hopefully fix css fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-ping committed Dec 30, 2023
1 parent ec2d054 commit a1202ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
run: |
echo "samuelp.ing" > out/CNAME
echo "# Hi!" > out/README.md
echo "You're currently looking at the build artifacts of my website. To check out the code, switch over to the [Main branch](https://github.com/samuel-ping/personal-website-v3)!" >> out/README.md
echo "You're currently looking at the build artifacts of my website. To check out the code, switch over to the [Main branch](https://github.com/samuel-ping/personal-website)!" >> out/README.md
echo "#### Note - This message was automatically generated." >> out/README.md
- name: Upload artifact
Expand All @@ -98,6 +98,14 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to samuel-ping.github.io
uses: s0/git-publish-subdir-action@develop
env:
REPO: git@github.com:samuel-ping/samuel-ping.github.io.git
BRANCH: gh-pages
FOLDER: ./out
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
6 changes: 3 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @type {import('next').NextConfig}
*/
const isProd = process.env.NODE_ENV === 'production';

const nextConfig = {
assetPrefix: undefined,
images: { unoptimized: true },
output: 'export',
};
Expand Down

0 comments on commit a1202ba

Please sign in to comment.