Skip to content

Commit 2db52b7

Browse files
authored
fix: Moves post-build to samples folder; calls from release.yml (#146)
1 parent f8afb54 commit 2db52b7

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ on:
1818
pull_request:
1919
types: [closed]
2020
branches: [main]
21-
push:
22-
branches:
23-
- dist
2421

2522
jobs:
2623
release:
@@ -78,19 +75,8 @@ jobs:
7875
- name: Deploy to Firebase Hosting
7976
run: firebase deploy --only hosting
8077

81-
- name: Check for existing 'dist' branch
82-
run: |
83-
if git ls-remote --exit-code --heads origin dist;
84-
then
85-
git push origin --delete dist
86-
fi
87-
88-
- name: Create and push new 'dist' branch
89-
run: |
90-
git checkout -b dist
91-
git add dist
92-
git commit -m "Automated build output"
93-
git push origin dist
78+
- name: Post Build
79+
run: ./samples/post-build.sh
9480

9581
approve-and-merge:
9682
runs-on: ubuntu-latest
File renamed without changes.

0 commit comments

Comments
 (0)