-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
70 additions
and
2 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,15 @@ | ||
# These are supported funding model platforms | ||
|
||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: ilegeul # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
polar: # Replace with a single Polar username | ||
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username | ||
thanks_dev: # Replace with a single thanks.dev username | ||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
53 changes: 53 additions & 0 deletions
53
.github/workflows/trigger-publish-github-pages-preview.yml
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,53 @@ | ||
# DO NOT EDIT! | ||
# Automatically generated from npm-packages-helper/templates | ||
|
||
# Simple workflow to trigger the deployment of GitHub Pages in another project | ||
name: Trigger Remote GitHub Pages | ||
|
||
on: | ||
# Runs on pushes, if all conditions are met: | ||
push: | ||
# ... on the website branch ... | ||
branches: | ||
- 'development' | ||
# ... skip tags only ... | ||
tags-ignore: | ||
- '**' | ||
# ... any of these files changes ... | ||
paths: | ||
- 'website/**' | ||
- 'typedoc.json' | ||
- '**/tsconfig*.json' | ||
- 'src/**/*.ts' | ||
- 'README.md' | ||
- '.github/workflows/trigger-publish-github-pages-preview.yml' | ||
- 'package.json' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Dispatch the event to the destination project. | ||
dispatch: | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Trigger | ||
run: | | ||
curl --verbose --location --fail-early --fail-with-body --include \ | ||
--header "Authorization: token ${{secrets.DISPATCH_TOKEN}}" \ | ||
--header "Content-Type: application/json" \ | ||
--header "Accept: application/vnd.github.v3+json" \ | ||
--data '{"ref":"master","inputs":{}}' \ | ||
https://api.github.com/repos/xpack/web-preview/actions/workflows/publish-github-pages-from-remote.yml/dispatches |
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