Skip to content

Commit

Permalink
Merge branch 'main' into update-refactor-docs-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg authored Feb 22, 2024
2 parents 7ba5581 + cdeacb1 commit 8ddbcea
Show file tree
Hide file tree
Showing 33 changed files with 7,619 additions and 2,197 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,22 @@ jobs:
with:
repository: openwebdocs/mdn-bcd-results
path: mdn-bcd-results
token: ${{ secrets.GOOBORG_BOT_GH_TOKEN }}
- name: Run Selenium and collect results
if: steps.check.outputs.changed == 'true'
run: |
npm install -D typescript
npm install -D ts-node
echo "${{secrets.SECRETS_JSON}}" > secrets.json
rm mdn-bcd-results/*.json
RESULTS_DIR=mdn-bcd-results npm run selenium
- name: Submit all results to results repo
if: steps.check.outputs.changed == 'true'
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.GOOBORG_BOT_GH_TOKEN }}
with:
source_file: "/"
destination_repo: "openwebdocs/mdn-bcd-results"
destination_folder: "mdn-bcd-results"
user_email: "[email protected]"
user_name: "gooborgstudios-bot"
commit_message: "Selenium v${{steps.check.outputs.version}} results"
SECRETS_JSON: ${{secrets.SECRETS_JSON}}
- name: Submit all results to the results repo
if: steps.check.outputs.changed == 'true'
run: |
cd mdn-bcd-results
git config user.name "gooborgstudios-bot"
git config user.email "[email protected]"
git add *.json
git commit -m "Selenium v${{steps.check.outputs.version}} results"
git push origin main
Loading

0 comments on commit 8ddbcea

Please sign in to comment.