Skip to content

Commit

Permalink
ci: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Jun 20, 2023
1 parent 8e6d5dd commit 7ea2585
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]
paths-ignore:
- "e2e/wasms/**"
- "artifacts/**"

jobs:
build:
Expand All @@ -23,15 +23,13 @@ jobs:
with:
command: run-script
args: optimize
- name: Move artifacts
- name: Change Artifact Permissions
run: |
mkdir -p ./e2e/wasms
rm -rf ./e2e/wasms/*
mv ./artifacts/*.wasm ./e2e/wasms
sudo chown -R 1001:116 ./artifacts/*
- name: Commit and push
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add ./e2e/wasms
git add ./artifacts
git commit -m "ci: created optimized build" -a
git push

0 comments on commit 7ea2585

Please sign in to comment.