Skip to content

Commit 5a6be55

Browse files
fix
1 parent c303037 commit 5a6be55

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/github-actions-deploy.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,36 @@ jobs:
1111
run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event. "
1212
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
1313
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
14-
- name: Checkout Fork
14+
- name: Checkout preset
1515
uses: actions/checkout@v3
1616
with:
17-
repository: creativetimofficial/paper-dashboard-laravel
17+
repository: laravel-frontend-presets/paper-dashboard
1818
token: ${{ secrets.CT_TOKEN }}
1919
- run: |
2020
git config --global user.name "CI Bot"
2121
git config --global user.email "[email protected]"
22-
git remote add upstream https://${{ secrets.CT_TOKEN }}@github.com/laravel-frontend-presets/paper-dashboard
22+
git remote add upstream https://${{ secrets.CT_TOKEN }}@github.com/creativetimofficial/paper-dashboard-laravel
2323
git fetch --all
24-
git merge upstream/master --allow-unrelated-histories
24+
git checkout upstream/master
25+
git pull upstream master
26+
git checkout origin master
27+
git merge upstream/master
2528
git push origin HEAD:master --force
2629
git push origin --tags
27-
- name: Checkout preset
30+
- name: Checkout Fork
2831
uses: actions/checkout@v3
2932
with:
30-
repository: laravel-frontend-presets/paper-dashboard
33+
repository: creativetimofficial/paper-dashboard-laravel
3134
token: ${{ secrets.CT_TOKEN }}
3235
- run: |
3336
git config --global user.name "CI Bot"
3437
git config --global user.email "[email protected]"
35-
git remote add upstream https://${{ secrets.CT_TOKEN }}@github.com/creativetimofficial/paper-dashboard-laravel
38+
git remote add upstream https://${{ secrets.CT_TOKEN }}@github.com/laravel-frontend-presets/paper-dashboard
3639
git fetch --all
37-
git merge upstream/master --allow-unrelated-histories
40+
git checkout upstream/master
41+
git pull upstream/master
42+
git checkout origin master
43+
git merge upstream/master
3844
git push origin HEAD:master --force
3945
git push origin --tags
4046
- run: echo "The fork was updated"

0 commit comments

Comments
 (0)