Update user-experience.md #99
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
name: Update Submodules | |
on: | |
push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
with: | |
submodules: true | |
- name: Update Externals | |
run: | | |
git submodule update --remote | |
cd _data | |
rm lang.json techniques.yml translations.yml wcag.yml navigation.yml | |
ln -s ../_external/data/lang.json | |
ln -s ../_external/data/techniques.yml | |
ln -s ../_external/data/translations.yml | |
ln -s ../_external/data/wcag.yml | |
ln -s ../_external/data/navigation.yml | |
cd .. | |
# REPONAME = $GITHUB_REPOSITORY | sed -e "s|w3c/||" | |
# find ./myFolder -type f -exec sed -i "s/wai-resource/${REPONAME}/g" '{}' \; | |
- name: commit changed files | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply automatic changes | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |