-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# devlooped/oss - Switch to built-in release notes generator devlooped/oss@2c80ab0 - Ignore docs merges too devlooped/oss@055a8b7 - Remove duplicate community files and unused stuff devlooped/oss@a4b66eb - Add specific skip rules for tests devlooped/oss@448cf45 - Switch to newer syntax for output variables devlooped/oss@9dc1ae2 - Automatically build from dev/* branches too devlooped/oss@6d3dd85 - Drop net6 forced install, it's built-in all agents now devlooped/oss@34c1bf6 - Drop net6 setup on prior to dotnet format devlooped/oss@4b31891 - Drop net6 setup on publish too devlooped/oss@d302256 - Switch to old nuget.config for package sources devlooped/oss@c6f74ce - Invert order of sources in mapping devlooped/oss@8b4ce81 - Fix mapping sources devlooped/oss@b2fa09b - Don't fail sponsors tagging, since it's optional devlooped/oss@8990ebb - Enable C# compiler strict mode by default devlooped/oss@ef8e7fa # clarius/pages - Add cross-posting pages workflow clarius/pages@d3b026e - Create Gemfile clarius/pages@565a77f
- Loading branch information
1 parent
9d619a1
commit 7608301
Showing
18 changed files
with
114 additions
and
242 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
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
.github/.github_changelog_generator → .github/workflows/changelog.config
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
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 |
---|---|---|
@@ -1,10 +1,21 @@ | ||
# Workflow to cross-post a jekyll site (or GitHub Pages) | ||
# to another org/repo. | ||
# Required secrets in repository consuming this workflow: | ||
# - PAGES_ORGANIZATION: the target organization to publish | ||
# pages to. | ||
# - PAGES_ACCESS_TOKEN: a token that is valid in the target | ||
# org/repo for pushing the resulting site | ||
# - PAGES_REPOSITORY: optional repository name under the | ||
# target organization. Defaults to source repo name. | ||
|
||
name: pages | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
- pages | ||
- docs | ||
|
||
env: | ||
PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }} | ||
|
@@ -13,7 +24,23 @@ env: | |
jobs: | ||
gh-pages: | ||
runs-on: ubuntu-latest | ||
env: | ||
PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }} | ||
PAGES_REPOSITORY: ${{ secrets.PAGES_REPOSITORY }} | ||
PAGES_ACCESS_TOKEN: ${{ secrets.PAGES_ACCESS_TOKEN }} | ||
steps: | ||
- name: ✅ organization | ||
if: env.PAGES_ORGANIZATION == '' | ||
run: | | ||
echo "::error title=PAGES_ORGANIZATION secret is required." | ||
exit 1 | ||
- name: ✅ token | ||
if: env.PAGES_ACCESS_TOKEN == '' | ||
run: | | ||
echo "::error title=PAGES_ACCESS_TOKEN secret is required." | ||
exit 1 | ||
- name: 🤘 checkout | ||
uses: actions/checkout@v2 | ||
|
||
|
@@ -22,14 +49,6 @@ jobs: | |
sudo gem install bundler | ||
bundle install | ||
- name: 🖉 default env | ||
env: | ||
PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }} | ||
PAGES_REPOSITORY: ${{ secrets.PAGES_REPOSITORY }} | ||
run: | | ||
echo "PAGES_ORGANIZATION=${PAGES_ORGANIZATION}" >> $GITHUB_ENV | ||
echo "PAGES_REPOSITORY=${PAGES_REPOSITORY}" >> $GITHUB_ENV | ||
- name: 🖉 default repo | ||
if: env.PAGES_REPOSITORY == '' | ||
run: echo "PAGES_REPOSITORY=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV | ||
|
@@ -44,14 +63,14 @@ jobs: | |
cd _site | ||
git init | ||
git add -A | ||
git config --local user.email "bot@devlooped.com" | ||
git config --local user.name "bot@devlooped.com" | ||
git config --local user.email "bot@clarius.org" | ||
git config --local user.name "bot@clarius.org" | ||
git commit -m "Publish pages from ${GITHUB_REPOSITORY}@${GITHUB_SHA:0:9}" | ||
- name: 🚀 push | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.PAGES_ACCESS_TOKEN }} | ||
github_token: ${{ env.PAGES_ACCESS_TOKEN }} | ||
repository: ${{ env.PAGES_ORGANIZATION }}/${{ env.PAGES_REPOSITORY }} | ||
branch: gh-pages | ||
force: true | ||
|
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.