Update External Docs #22
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 External Docs | |
on: | |
workflow_dispatch: | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
update-docs: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'chrisdel101' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Check Dir | |
working-directory: .github/scripts | |
run: | | |
echo pwd | |
cat ../..en/resources/contributing.md | |
echo "OVER WRITE" > ../../en/resources/contributing.md | |
cat ../..en/resources/contributing.md | |
- name: Run scripts | |
working-directory: .github/scripts | |
run: | | |
bash ./get-contributing.sh | |
bash ./get-readmes.sh | |
node ./get-express-version.mjs | |