Skip to content

Commit

Permalink
Update auth
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-montalvo committed Jan 16, 2025
1 parent 09c6ed1 commit 9527315
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/accname.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.ARIA_EDITOR_DRAFTS}}" \
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/w3c/accname/actions/workflows/build-from-monorepo.yaml/dispatches \
-d '{"ref":"gh-pages"}'
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
repository: w3c/accname
ref: gh-pages
path: accname
token: ${{ secrets.ARIA_EDITOR_DRAFTS }}
token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
- uses: actions/download-artifact@v4
with:
name: accname
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/core-aam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.ARIA_EDITOR_DRAFTS}}" \
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/w3c/core-aam/actions/workflows/build-from-monorepo.yaml/dispatches \
-d '{"ref":"gh-pages"}'
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
repository: w3c/core-aam
ref: gh-pages
path: core-aam
token: ${{ secrets.ARIA_EDITOR_DRAFTS }}
token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
- uses: actions/download-artifact@v4
with:
name: core-aam
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dpub-aam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.ARIA_EDITOR_DRAFTS}}" \
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/w3c/dpub-aam/actions/workflows/build-from-monorepo.yaml/dispatches \
-d '{"ref":"gh-pages"}'
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
repository: w3c/dpub-aam
ref: gh-pages
path: dpub-aam
token: ${{ secrets.ARIA_EDITOR_DRAFTS }}
token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
- uses: actions/download-artifact@v4
with:
name: dpub-aam
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dpub-aria.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.ARIA_EDITOR_DRAFTS}}" \
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/w3c/dpub-aria/actions/workflows/build-from-monorepo.yaml/dispatches \
-d '{"ref":"gh-pages"}'
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
repository: w3c/dpub-aria
ref: gh-pages
path: dpub-aria
token: ${{ secrets.ARIA_EDITOR_DRAFTS }}
token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
- uses: actions/download-artifact@v4
with:
name: dpub-aria
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/graphics-aam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.ARIA_EDITOR_DRAFTS}}" \
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/w3c/graphics-aam/actions/workflows/build-from-monorepo.yaml/dispatches \
-d '{"ref":"gh-pages"}'
Expand All @@ -43,7 +43,7 @@ jobs:
repository: w3c/graphics-aam
ref: gh-pages
path: graphics-aam
token: ${{ secrets.ARIA_EDITOR_DRAFTS }}
token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
- uses: actions/download-artifact@v4
with:
name: graphics-aam
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/html-amm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.ARIA_EDITOR_DRAFTS}}" \
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/w3c/html-aam/actions/workflows/build-from-monorepo.yaml/dispatches \
-d '{"ref":"gh-pages"}'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mathml-aam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.ARIA_EDITOR_DRAFTS}}" \
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/w3c/mathml-aam/actions/workflows/build-from-monorepo.yaml/dispatches \
-d '{"ref":"gh-pages"}'
Expand All @@ -43,7 +43,7 @@ jobs:
repository: w3c/mathml-aam
ref: gh-pages
path: mathml-aam
token: ${{ secrets.ARIA_EDITOR_DRAFTS }}
token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
- uses: actions/download-artifact@v4
with:
name: mathml-aam
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pdf-aam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.ARIA_EDITOR_DRAFTS}}" \
-H "Authorization: Bearer ${{secrets.W3CGRUNTBOT_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/w3c/pdf-aam/actions/workflows/build-from-monorepo.yaml/dispatches \
-d '{"ref":"gh-pages"}'
Expand Down Expand Up @@ -52,13 +52,13 @@ jobs:
repository: w3c/pdf-aam
ref: gh-pages
path: pdf-aam
token: ${{ secrets.ARIA_EDITOR_DRAFTS }}
token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
- uses: actions/download-artifact@v4
with:
name: pdf-aam
- name: Copy files
run: |
cp -r aria/pdf-aam/** pdf-aam/
cp -r aria.gh/aria/pdf-aam/** pdf-aam/
- name: Push new files to child repo
run: |
git config user.name "github-actions[bot]"
Expand Down

0 comments on commit 9527315

Please sign in to comment.