Skip to content

Commit

Permalink
cicd: put back endpoints
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
cyrilevos authored and Pilou97 committed Apr 10, 2024
1 parent c255c43 commit 2f64327
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Automatic deploy to GHPages
on:
push:
branches:
- main
- release
pull_request:
branches:
- main
- release

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand Down Expand Up @@ -59,6 +59,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
if: ${{ ! github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
if: ${{ ! github.event_name != 'pull_request' && github.ref == 'refs/heads/release' }}
id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
reactStrictMode: false,
swcMinify: true,
images: {
unoptimized: true,
},
};

module.exports = nextConfig;

0 comments on commit 2f64327

Please sign in to comment.