From 703e8546e95070a287a9812948a2069cc1c3d566 Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Wed, 21 Aug 2024 21:44:57 -0700 Subject: [PATCH] workflow: delete it It is no longer used. --- .github/workflows/publish.yml | 53 ----------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 91ad526..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Deploy site - -on: - push: - branches: [ main ] - workflow_dispatch: - -jobs: - publish: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - with: - persist-credentials: false - - - name: Install deterministic zip - run: | - wget https://github.com/timo-reymann/deterministic-zip/releases/latest/download/deterministic-zip_linux-amd64 - chmod +x deterministic-zip_linux-amd64 - sudo mv deterministic-zip_linux-amd64 /usr/local/bin/zip - - - name: Package files - run: | - cd archive - chmod +x build.sh - ./build.sh - - # to get README.md to webpage as well as GitHub's UI - - name: Pre-generation of directory listing - run: cp README.md out/README.md - - - name: Github Pages Directory Listing - uses: jayanta525/github-pages-directory-listing@v4.0.0 - with: - FOLDER: out - - # these shouldn't be in apindex, but need to be in repo root for GitHub Pages - - name: Pre-generation of directory listing - run: | - mkdir public - cp -r out/* public - cp CNAME public - touch public/.nojekyll - - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.4.3 - with: - repository-name: DS-Homebrew/flashcard-archive-web - token: ${{ secrets.WEB_PUSH_TOKEN }} - branch: gh-pages # The branch the action should deploy to. - folder: public # The folder the action should deploy. - clean: true # Automatically remove deleted files from the deploy branchimage: ubuntu:bionic