Skip to content

Merge pull request #1 from aws-deepracer-community/feature/logs #11

Merge pull request #1 from aws-deepracer-community/feature/logs

Merge pull request #1 from aws-deepracer-community/feature/logs #11

name: Website Builder
on:
workflow_dispatch:
push:
paths:
- .github/workflows/website-builder.yml
- new/**
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 new
npm ci
npm install
npm run build
cd dist
rm -f ../../deepracer-console-new.zip && zip -r ../../deepracer-console-new.zip .
- name: Commit updated website
run: |
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Update website archive file" || echo "No changes to commit"
git push