From 911cf76c4627710122e297566f7ce5e2bf729aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Br=C3=A4unlich?= Date: Wed, 4 Sep 2024 05:09:15 +0000 Subject: [PATCH] remove workflow relic --- .github/workflows/regen-gh-pages.yml | 49 ---------------------------- 1 file changed, 49 deletions(-) delete mode 100644 .github/workflows/regen-gh-pages.yml diff --git a/.github/workflows/regen-gh-pages.yml b/.github/workflows/regen-gh-pages.yml deleted file mode 100644 index 95b667b0..00000000 --- a/.github/workflows/regen-gh-pages.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: hugo CI - -on: - push: - branches: - - main # Set a branch name to trigger deployment - pull_request: - -jobs: - deploy: - runs-on: ubuntu-20.04 - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - steps: - - uses: actions/checkout@v2 - with: - submodules: recursive # Fetch Hugo themes (true OR recursive) - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: 'latest' - extended: true # Use extended Hugo - - - name: Setup Node - uses: actions/setup-node@v2 - with: - node-version: '20' - - - name: Cache dependencies - uses: actions/cache@v1 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Prepare postcss-cli - run: npm ci - - - name: Build - run: hugo --minify - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/main' }} - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public