Skip to content

Commit

Permalink
Add commit step (#25)
Browse files Browse the repository at this point in the history
* add build

* [WIP] change how build is triggered

* [WIP] add a test

* [WIP] refactor to phase

* [WIP] add commit step
  • Loading branch information
KaiWaldrant authored Aug 7, 2024
1 parent 04ba872 commit a956c2b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
# phase 3
cleanup:
name: Clean up repository
needs: target
needs: [target, docker]

runs-on: ubuntu-latest
permissions:
Expand All @@ -130,13 +130,18 @@ jobs:
- name: Copy executables to root
run: |
echo "Copying directories to root"
# cp -r target/executable/common/* .
ls -l
cp -r target/executable/common/* .
# Add step to remove unnecessary files
- name: Clean up
run: |
echo "Cleaning up"
rm -rf target
rm -rf src
rm _viash.yaml
rm _viash.yaml
- name: Commit changes
uses: devops-infra/action-commit-push@master
with:
commit_message: "Clean up repository"
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a956c2b

Please sign in to comment.