diff --git a/.github/workflows/publish_netlify.yml b/.github/workflows/publish_netlify.yml deleted file mode 100644 index 2b88a2a..0000000 --- a/.github/workflows/publish_netlify.yml +++ /dev/null @@ -1,25 +0,0 @@ -# .github/workflows/netlify.yml -name: Build and Deploy to Netlify -on: - push: - pull_request: -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Deploy to Netlify - uses: nwtgck/actions-netlify@v2.0 - with: - publish-dir: './public' - production-branch: main - github-token: ${{ secrets.GITHUB_TOKEN }} - deploy-message: "Deploy from GitHub Actions" - enable-pull-request-comment: false - enable-commit-comment: true - overwrites-pull-request-comment: true - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - timeout-minutes: 1 diff --git a/netlify.toml b/netlify.toml index 5b00482..ec95510 100644 --- a/netlify.toml +++ b/netlify.toml @@ -20,4 +20,4 @@ command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" HUGO_VERSION = "0.121.1" [context.next.environment] -HUGO_ENABLEGITINFO = "true" \ No newline at end of file +HUGO_ENABLEGITINFO = "true"