add ssm access link to aid troubleshooting #13
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: Website Builder | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- .github/workflows/website-builder.yml | |
- website/** | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Node | |
run: | | |
sudo apt install nodejs | |
- name: Build website | |
run: | | |
pwd | |
cd website | |
npm ci | |
npm install | |
npm run build | |
cd dist | |
zip -r website.zip . | |
- name: Commit updated website | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add . | |
git commit -m "Update website archive file" || echo "No changes to commit" | |
git push | |