From 9bc5747891118187a2f111b3fd1a4b5b04b53572 Mon Sep 17 00:00:00 2001 From: Henrique Marques Date: Sun, 1 Jun 2025 03:49:47 +0000 Subject: Update main.yml --- .github/workflows/main.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1985bd9..c85b9a6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,20 +18,10 @@ jobs: # Step 1: Check out the repository - uses: actions/checkout@v4 - # Step 2: Set up Hugo (this downloads and installs Hugo) - - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 - with: - hugo-version: '0.119.0' - - # Step 3: Build the Hugo site - - name: Build the Hugo site - run: hugo --minify - - # Step 4: Deploy the 'public' folder to Neocities + # Step 2: Deploy the 'blog' folder to Neocities - name: Deploy to Neocities uses: bcomnes/deploy-to-neocities@v2.0.2 with: - api_token: ${{ secrets.NEOCITIES_SECRET }} # Your Neocities API token stored as a secret + api_token: ${{ secrets.NEOCITIES_SECRET }} # neocities API token stored as a secret cleanup: false - dist_dir: public # The Hugo output folder + dist_dir: blog -- cgit v1.3