Skip to content

Commit

Permalink
Merge pull request #42 from recke96/use-gh-pages-download-page
Browse files Browse the repository at this point in the history
Move from deployment via workflow to pages branch
  • Loading branch information
recke96 authored Mar 22, 2024
2 parents 9e75819 + 41a33e9 commit e9950b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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



1 change: 1 addition & 0 deletions conveyor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ app {
github {
oauth-token = ~
oauth-token = ${?env.GITHUB_TOKEN}
pages-branch = "gh-pages"
}
}

Expand Down

0 comments on commit e9950b2

Please sign in to comment.