From 41a33e997561975bbce0896e1b940c7a1f4ae4f0 Mon Sep 17 00:00:00 2001 From: Jakob Ecker Date: Fri, 22 Mar 2024 17:26:54 +0100 Subject: [PATCH] Remove gh pages release via actions and set gh-pages branch in conveyor config --- .github/workflows/release.yml | 36 ----------------------------------- conveyor.conf | 1 + 2 files changed, 1 insertion(+), 36 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4962526..55cb339 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,39 +50,3 @@ jobs: agree_to_license: 1 command: make copied-site signing_key: ${{ secrets.SIGNING_KEY }} - - run: ls -la output - - name: Configure Pages - uses: actions/configure-pages@v4 - - name: Prepare Download Site - run: | - mkdir _site - mv output/download.html _site/index.html - mv output/icon.svg _site/icon.svg - - name: Fix Permissions - run: | - chmod -v -R +rX "_site/" | while read line; do - echo "::warning title=Invalid file permissions automatically fixed::$line" - done - - name: Upload Download Page - uses: actions/upload-pages-artifact@v3 - - deploy: - needs: release - - permissions: - pages: write - id-token: write - - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - # Specify runner + deployment step - runs-on: ubuntu-latest - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 - - - diff --git a/conveyor.conf b/conveyor.conf index cedcabc..5337dc8 100644 --- a/conveyor.conf +++ b/conveyor.conf @@ -14,6 +14,7 @@ app { github { oauth-token = ~ oauth-token = ${?env.GITHUB_TOKEN} + pages-branch = "gh-pages" } }