This repository has been archived by the owner on May 2, 2024. It is now read-only.
Update Submodules #54
Workflow file for this run
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@v1 | |
with: | |
submodules: true | |
- name: Update Externals | |
run: | | |
git submodule update --remote | |
cd _data | |
rm lang.json techniques.yml translations.yml wcag.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 | |
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/[email protected] | |
with: | |
commit_message: Apply automatic changes | |
branch: master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |