forked from erlang/otp
-
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.
Merge pull request erlang#9449 from garazdawi/lukas/gh/migrate-pr-res…
…ults-to-erlang.org gh: Migrate PR test logs and docs to erlang.org
- Loading branch information
Showing
4 changed files
with
2 additions
and
351 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,12 +109,6 @@ jobs: | |
echo "HAS_TEST_ARTIFACTS=false" >> $GITHUB_OUTPUT | ||
fi | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/[email protected] | ||
with: | ||
token: ${{ secrets.ERLANG_TOKEN }} | ||
repository: 'erlang/erlang.github.io' | ||
path: erlang.github.io | ||
|
||
- name: Publish CT Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # ratchet:EnricoMi/[email protected] | ||
if: steps.extract.outputs.HAS_TEST_ARTIFACTS == 'true' | ||
|
@@ -125,31 +119,6 @@ jobs: | |
check_name: "CT Test Results" | ||
files: "artifacts/**/*.xml" | ||
|
||
- name: Upload PR to github pages | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
run: | | ||
git clone https://github.com/talentdeficit/jsx | ||
(cd jsx && rebar3 compile) | ||
mkdir -p "${GITHUB_WORKSPACE}/erlang.github.io/prs/" | ||
.github/scripts/sync-github-prs.es erlang/otp \ | ||
"${GITHUB_WORKSPACE}/erlang.github.io/prs/" \ | ||
"${{ needs.pr-number.outputs.result }}" | ||
- name: Deploy to github pages 🚀 | ||
run: | | ||
cd erlang.github.io | ||
set -x | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add . | ||
git add -u | ||
git update-index --refresh | ||
if ! git diff-index --quiet HEAD --; then | ||
git commit -m "Update github pages content" | ||
git push origin master | ||
fi | ||
## Append some useful links and tips to the test results posted by | ||
## Publish CT Test Results | ||
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # ratchet:actions/[email protected] | ||
|
This file was deleted.
Oops, something went wrong.