Skip to content

Update Profile Image #15

Update Profile Image

Update Profile Image #15

Workflow file for this run

name: CD using Github Actions
on: push
jobs:
prod-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build prod site and move contents from dist to root
run: |
rm -rf index.html *.png assets *.xml
cd source/
npm i
npm run build
sudo mv build/* ../
rm -rf build node_modules .svelte-kit
- name: Commit files
run: |
git pull
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Added prod build by Hetarth Shah using Github Actions"
git push