-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #564 from Xpirix/github_sponsors
GitHub sponsors
- Loading branch information
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This workflow updates the GitHub Sponsors list in the content/funding/donate/github-sponsors.md file. | ||
name: 💖 Update the GitHub Sponsors page and commit | ||
on: | ||
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab | ||
schedule: | ||
- cron: '0 0,12 * * *' # At midnight & noon UTC | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: '🛎️ Checkout' | ||
uses: actions/checkout@v3 | ||
|
||
- name: '💖 Generate Sponsors' | ||
uses: JamesIves/github-sponsors-readme-action@v1 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
file: 'content/funding/donate/github-sponsors.md' | ||
organization: true | ||
active-only: false | ||
template: | | ||
<a class="rich-list third mr-2 mb-2" href="https://github.com/{{{ login }}}" target="_blank"> | ||
<div class="listcont external-link">{{{ name }}} - {{{ login }}}</div> | ||
<div class="subtext is-size-7">https://github.com/{{{ login }}}</div> | ||
</a> | ||
- name: '✉️ Commit' | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: 'GitHub Sponsors updated and committed via a GitHub Action.' | ||
repository: ./qgis-website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
type: "page" | ||
title: "GitHub Sponsors" | ||
draft: false | ||
HasBanner: false | ||
sidebar: true | ||
--- | ||
|
||
{{< content-start >}} | ||
|
||
# GitHub Sponsors | ||
|
||
Donations can be of any amount through [GitHub Sponsors](https://github.com/sponsors/qgis). Even a small contribution can make a difference and help us reach important project goals! | ||
|
||
<a class="rich-list third mr-2 mb-2" href="https://github.com/sponsors/qgis" target="_blank"> | ||
<div class="listcont external-link">Want to see your name here?</div> | ||
<div class="subtext is-size-7">Become a sponsor to QGIS on GitHub</div> | ||
</a> | ||
<!-- sponsors --><!-- sponsors --> | ||
|
||
{{< content-end >}} |