Skip to content

Commit

Permalink
fix: fix github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianoayres committed Jul 13, 2024
1 parent 776e4b5 commit bfffc15
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Switch to dist branch
- name: Delete remote dist branch
run: |
git fetch
git switch dist || git checkout -b dist
git push origin --delete dist || true
- name: Create and switch to new dist branch
run: |
git checkout -b dist
git push --set-upstream origin dist
- name: Move content from src to root
run: |
Expand Down

0 comments on commit bfffc15

Please sign in to comment.