Skip to content

Commit

Permalink
Update URL mapping on W3C site after each release
Browse files Browse the repository at this point in the history
  • Loading branch information
gosko committed May 12, 2020
1 parent 718744c commit 6210436
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Update Externals
run: |
git submodule update --remote
- name: commit changed files
- name: Commit changed files
uses: stefanzweifel/[email protected]
with:
commit_message: Apply automatic changes
Expand All @@ -38,6 +38,14 @@ jobs:
# uses: docker://calibreapp/github-image-actions
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate list of resources
run: |
find ./_site -type f | sed 's,^\.\/_site,,' | sort > ./_site/manifest.txt
- name: Publish to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _site
- name: Zip Files
uses: montudor/[email protected]
with:
Expand All @@ -50,6 +58,11 @@ jobs:
asset_name: build.zip
tag: ${{ github.ref }}
overwrite: true
- name: Update URL mapping on W3C site
uses: fjogeleit/http-request-action@master
with:
url: 'https://www.w3.org/services/update-wai-map'
method: 'POST'
# - name: Check Links
# uses: peter-evans/[email protected]
# with:
Expand Down

0 comments on commit 6210436

Please sign in to comment.